Search found 1461 matches

by Jubatian
Wed Oct 07, 2015 6:14 am
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 33302

Re: Get that emu faster

For now you can send cancel the previous pull request and just send me a pull for your latest and greatest code. OK, but then lets wait a bit for it to settle. This evening after work I will see the remaining little bits, types, and whether I can still move anything aside on the main path so it run...
by Jubatian
Tue Oct 06, 2015 8:14 pm
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 33302

Re: Get that emu faster

I think I now covered all what was algorithmically possible around the instruction decoding and AVR's innards. There doesn't seem any more component around which would contribute much to the CPU load of the emulator in this region, and what is (still) there is necessary, irreplacable. The only regio...
by Jubatian
Tue Oct 06, 2015 4:08 pm
Forum: Uzebox Emulator
Topic: Smoother rendering of high res modes
Replies: 51
Views: 27638

Smoother rendering of high res modes

I was a bit annoyed by the performance of the emulator when it came to how it renders high resolution modes (such as 3 cycles per pixel, code tiles). So I did something about it (on top of my speed hacks, but on different branch): https://github.com/Jubatian/uzebox/tree/uzem140-linebuffer Capturing ...
by Jubatian
Tue Oct 06, 2015 10:50 am
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 33302

Re: Get that emu faster

Then you can repackage them again since Arkanoid now flies at 50MHz on my box! I implemented what was also mentioned by CunningFellow for Timer 1, and it bumped up performance a lot for that game, guess will do so for most of the rest as well. Hopefully I didn't introduce any nasties with it, I was ...
by Jubatian
Tue Oct 06, 2015 8:42 am
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 33302

Re: Get that emu faster

I hacked around pixel output a bit, experiencing a notable improvement with Arkanoid which I tested with: 36MHz to 42MHz. https://github.com/Jubatian/uzebox/tree/uzem140-hacks-01 I opened a new branch for it, so what was prepared for pull stays present, so bugs can be fixed there without forcing fur...
by Jubatian
Tue Oct 06, 2015 7:34 am
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 33302

Re: Get that emu faster

What you may have seen as imperfections are most probably the hack required to cover some edges cases I'm afraid. What I meant here I mostly that there was one LD type instruction which set cycles after the call to read_sram_ld, the CBI instruction set its cycles after the write_io while the SBI be...
by Jubatian
Mon Oct 05, 2015 8:45 pm
Forum: New to Uzebox? Start here!
Topic: Any suggestions for a small television in PAL region?
Replies: 4
Views: 5311

Any suggestions for a small television in PAL region?

Poking around here I see it isn't anything arcane to get and play around with the actual Uzebox hardware even without programmer or anything else (Just get the starter kit, and it will even load the .uze games from the SD card right away). For me, silly it may sound, but the bottleneck (apart from t...
by Jubatian
Mon Oct 05, 2015 8:08 pm
Forum: Uzebox Emulator
Topic: Get that emu faster
Replies: 90
Views: 33302

Re: Get that emu faster

Done! Hopefully it is not too hard to follow. I will try to stay around for a while if some sudden problem / question arises!
by Jubatian
Mon Oct 05, 2015 6:45 pm
Forum: Uzebox Emulator
Topic: Real-time syncing the emu - why by video?
Replies: 12
Views: 8209

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

I read the other topics (SDL2 porting) and I see there is an "incentive" to go back to have a possibility of sync by video, lured in by nice smooth scrolls. Maybe sounds crazy, but what about both at once? I was toying with this thought with my own emulator project, and I feel it might be possible, ...
by Jubatian
Mon Oct 05, 2015 6:13 pm
Forum: Uzebox Emulator
Topic: Missing first scanline on the uzem140 branch
Replies: 10
Views: 8386

Re: Missing first scanline on the uzem140 branch

Done. https://github.com/Jubatian/uzebox/tree/uzem140-hacks So I tried to clean this thing up, after I could prove that the firing of interrupts won't interfere with the instruction decoder. I documented those in the code as well. After that, I did another commit in hopes for some (maybe additional)...