Search found 1499 matches
- Sat Oct 03, 2015 7:16 pm
- Forum: Uzebox Emulator
- Topic: Real-time syncing the emu - why by video?
- Replies: 12
- Views: 18759
Real-time syncing the emu - why by video?
Poking around in the SDL2 porting topic and in the code I have the impression that uzem synchronizes itself to real time using the video output, to produce exactly 60 FPS. I have the feeling that maybe this is not the right approach, and also is the main reason for choppy sound which I see many peop...
- Sat Oct 03, 2015 6:13 pm
- Forum: Uzebox Emulator
- Topic: Get that emu faster
- Replies: 90
- Views: 86244
Re: Get that emu faster
I made an attempt with the instruction decoder's switch tree ( https://github.com/Jubatian/uzebox/tree/uzem-hacks ). The result is that just about everything moved one level down, a few important instructions (such as INC, DEC) even two levels down, and all switches are compile-able to a jump table....
- Sat Oct 03, 2015 8:00 am
- Forum: Uzebox Emulator
- Topic: Get that emu faster
- Replies: 90
- Views: 86244
Re: Get that emu faster
Just an useful little trick I found for poking around in the assembly output: __asm__ volatile ("nop"); Insert this little thing somewhere, and voila!, you can find the region of your interest in the asm output (beware that the optimizer can wildly rearrange stuff, so it is just a hint tha...
- Fri Oct 02, 2015 11:07 pm
- Forum: Uzebox Emulator
- Topic: Get that emu faster
- Replies: 90
- Views: 86244
Re: Get that emu faster
Are you using the master branch version, or the uzem140 branch version? Master branch for now. Hey, I just wanted to play around, and suddenly got involved in coding! Will look in it later, I see there is some SDL2 porting going around here with other optimizations. For now I forked the repo, and a...
- Fri Oct 02, 2015 6:04 pm
- Forum: Uzebox Emulator
- Topic: Get that emu faster
- Replies: 90
- Views: 86244
Re: Get that emu faster
Bummer. What version of the compiler are you using? I tested it with clang++ today, and it gave much better warnings than gcc ever did. Also, could you post your hack to the Makefile, I'm curious what the assembly looks like as well. Eh, the fun thing is that now I am sitting in front of a differen...
- Fri Oct 02, 2015 9:27 am
- Forum: Programming & Software
- Topic: Pixel aspect ratio?
- Replies: 4
- Views: 5301
Re: Pixel aspect ratio?
Then hope no problem musing a bit further around it ;) The Commodore 64, well, that's "the" machine when it comes to retro 8 bit computing (Well, sure there are contenders, Amstrad CPC anyone?, but by games and demos its certainly a winner). Uzebox is NTSC, let's see what the NTSC C64 has ...
- Fri Oct 02, 2015 8:01 am
- Forum: Uzebox Emulator
- Topic: Get that emu faster
- Replies: 90
- Views: 86244
Re: Get that emu faster
Huh, fast responses here! :) For now I hacked the generation of assembly output into the Makefile, and checked what happens with those big switches. Mostly they turned into jump tables all right, so those alone aren't the culprit, although maybe their nesting is (each nesting level is a guaranteed p...
- Thu Oct 01, 2015 11:16 pm
- Forum: Uzebox Emulator
- Topic: Get that emu faster
- Replies: 90
- Views: 86244
Get that emu faster
Hi! I was a bit shocked when I tried uzem, it did work, but it can barely do its job, getting stuck at somewhere near 26MHz while keeping a 2.2GHz core busy (not very great for the audible experience). Observing the code, I could push it past this point with a little modification: inline void set_bi...
- Thu Oct 01, 2015 10:24 pm
- Forum: Programming & Software
- Topic: Pixel aspect ratio?
- Replies: 4
- Views: 5301
Pixel aspect ratio?
Hi! Just discovered this nifty little piece of hardware, and, of course, I immediately started to brew grand (or not so grand) ideas on how to mess around with its graphics. Well, naturally, take the dive before even starting :) I studied the kernel provided modes for a while, and in general how it ...