Search found 1403 matches

by Jubatian
Sat Oct 03, 2015 9:42 pm
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 22733

Re: Uzem ported to SDL2

I checked it, hardware acceleration is okay (glxinfo reports so and everything else I know), and when I apply the diff, the same still happens. I even applied it after adding my CPU instruction decoder hacks, still the exact same result. Something seriously goes south here.
by Jubatian
Sat Oct 03, 2015 9:30 pm
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 27870

Re: Get that emu faster

I did the merge, it is here: https://github.com/Jubatian/uzebox/tree/uzem140-hacks There were a few changes in the instruction decoder which had to be followed. Hope I didn't miss anything. It works as far as I see. However almost certainly there are a few bugs in the instruction timing calculations...
by Jubatian
Sat Oct 03, 2015 8:08 pm
Forum: Uzebox Emulator
Topic: Real-time syncing the emu - why by video?
Replies: 12
Views: 6892

Re: Real-time syncing the emu - why by video?

Huh, I might have mixed branches then. In the 1.40 branch there is clearly no frameratelimiter mumbo-jumbo going on in the code, and I wrote this mainly based and researching after those. I even see the code in there which attempts to sync to the audio... Something went south in that thing, though, ...
by Jubatian
Sat Oct 03, 2015 7:58 pm
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 22733

Re: Uzem ported to SDL2

I checked out this branch to see what it could offer, but for me the results were notably inferior. Uzem on the master branch runs stuff at 26MHz here, this one can barely reach 22MHz. Debian Linux Jessie with XFCE, an old NVidia video card (GeForce 8400 GS), a 2,66MHz Core 2 Duo. However if I exit ...
by Jubatian
Sat Oct 03, 2015 7:16 pm
Forum: Uzebox Emulator
Topic: Real-time syncing the emu - why by video?
Replies: 12
Views: 6892

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...
by Jubatian
Sat Oct 03, 2015 6:13 pm
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 27870

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....
by Jubatian
Sat Oct 03, 2015 8:00 am
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 27870

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 that the asse...
by Jubatian
Fri Oct 02, 2015 11:07 pm
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 27870

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...
by Jubatian
Fri Oct 02, 2015 6:04 pm
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 27870

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...
by Jubatian
Fri Oct 02, 2015 9:27 am
Forum: Programming & Software
Topic: Pixel aspect ratio?
Replies: 4
Views: 1763

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 in compari...