Search found 1400 matches

by Jubatian
Sun Oct 04, 2015 8:45 pm
Forum: Games & Demos
Topic: New Game: Bugz
Replies: 41
Views: 11911

Re: New Game: Bugz

Nice, and the process you describe for the levels sounds interesting! :) (OFF: And version 1.40 of Uzem with my hacks added can run it and all else tried so far, no weird behaviors and all) I kept dying and dying, and yet again, dying once more. But I think it is fine, controls feel smooth, no pixel...
by Jubatian
Sun Oct 04, 2015 11:11 am
Forum: Uzebox Emulator
Topic: Missing first scanline on the uzem140 branch
Replies: 10
Views: 6887

Re: Missing first scanline on the uzem140 branch

A bit of gardening helps stirring thoughts. The emulator's code as it is now feels suggesting an another probably possible way to get things cycle perfect. The update_hardware function is now called right after the instruction decoder, and it even has a cycles input. What if it was called within the...
by Jubatian
Sun Oct 04, 2015 8:55 am
Forum: Uzebox Emulator
Topic: Missing first scanline on the uzem140 branch
Replies: 10
Views: 6887

Re: Missing first scanline on the uzem140 branch

I got an idea over this problem. Specifically I/O reading must happen after the first cycle of a 2 cycles instruction etc. Is there anything else you know of? I can not really imagine anything else. If only this is the problem, that there are a few instructions whose effect on the hardware is carrie...
by Jubatian
Sun Oct 04, 2015 8:18 am
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 27184

Re: Get that emu faster

Could someone go through the CPU emulation part (preferably someone who made the changes present in the 140 branch) to verify if everything is well and sound? Particularly the instruction timing calculations (cycles variable) should be revisited, for example the change and comment at the SBI instruc...
by Jubatian
Sun Oct 04, 2015 8:06 am
Forum: Uzebox Emulator
Topic: Real-time syncing the emu - why by video?
Replies: 12
Views: 6738

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

Could someone help me a bit with that branch? When I try to compile, I get messages like "'HANDLE' does not name a type" or "'LPBYTE' does not name a type", and even grepping the whole project does not reveal where they could have been defined. By any chance, wasn't that version Windows-only? ("LPBY...
by Jubatian
Sat Oct 03, 2015 10:38 pm
Forum: Uzebox Emulator
Topic: Real-time syncing the emu - why by video?
Replies: 12
Views: 6738

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

Observing the surrounding code I see problems, though. I wouldn't do the syncing in a write_io() call, that way the emulator is tied to the kernel's implementation. The audio should rather be output at given cycle intervals, so the wait should be rather tied to elapsed cycles: every 1820 cycles it s...
by Jubatian
Sat Oct 03, 2015 10:04 pm
Forum: Uzebox Emulator
Topic: Real-time syncing the emu - why by video?
Replies: 12
Views: 6738

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

Currently with SDL_RENDERER_PRESENTVSYNC removed, "while (audioRing.isFull())SDL_Delay(1);" commented out I can get it running occasionally at 36MHz when started for about 15 or so seconds or even a minute, then it falls back to 24MHz. So apparently my machine has the power to run this thing, video ...
by Jubatian
Sat Oct 03, 2015 9:42 pm
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 22089

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: 27184

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: 6738

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, ...