Search found 1563 matches
- Sat Mar 02, 2024 1:16 pm
- Forum: Programming & Software
- Topic: mmc_lib vs Bootloader V5 vs PFF vs FatFS vs sdBase(sdSimple)
- Replies: 38
- Views: 16316
Re: mmc_lib vs Bootloader V5 vs PFF vs FatFS vs sdBase(sdSimple)
A bit baffling to me as it looks like it reports a CRC error, which at that stage it shouldn't do. You might be able to hack yourself around this problem by recompiling the emulator with Line 442 in cu_spisd.c uncommented (it is an "sd_state.r1 |= R1_CRC;"), no idea why you get it with tha...
- Fri Mar 01, 2024 10:12 pm
- Forum: Games & Demos
- Topic: Flight of a Dragon
- Replies: 98
- Views: 205506
Re: Flight of a Dragon
Thank you! The reset on frame is an interesting one indeed - it does two things. One is more RAM by eliminating the need for retaining the stack while the video frame is ran. The other is consistent timing, which of course took some careful design. The display generation is purposely made so that it...
- Fri Mar 01, 2024 10:05 pm
- Forum: Programming & Software
- Topic: mmc_lib vs Bootloader V5 vs PFF vs FatFS vs sdBase(sdSimple)
- Replies: 38
- Views: 16316
Re: mmc_lib vs Bootloader V5 vs PFF vs FatFS vs sdBase(sdSimple)
Hi! Not sure there as I didn't use those libraries. Just to keep in mind if you are trying that, the emulators don't have complete filesystem support. CUzebox is able to catch writes to a file as long as it isn't resized, but nothing more. Uzem is read only as far as I see. So you will need to use r...
- Mon Feb 26, 2024 11:12 pm
- Forum: Games & Demos
- Topic: IKD - Atari Combat remake
- Replies: 172
- Views: 77730
Re: IKD - Atari Combat remake
Something occurred to me which could explain the wildly varying outcomes. Might we have some uninitialized memory somewhere? (any variable, data structure etc) Possibly something which might result in some part of an algorithm used here going through a loop unexpected amount of times? (There shouldn...
- Mon Feb 26, 2024 10:47 pm
- Forum: Games & Demos
- Topic: IKD - Atari Combat remake
- Replies: 172
- Views: 77730
Re: IKD - Atari Combat remake
I tried to take a look at this and found something really weird. In the IKD.uze downloadable from the opening post as of now, at https://github.com/Uzebox/uzebox/blob/master/kernel/uzeboxVideoEngineCore.s#L387 , there is a "cpi ZL, 251" instruction, where the only larger difference begins ...
- Sun Feb 25, 2024 12:42 am
- Forum: Games & Demos
- Topic: Outpost in the Dragon's Maw
- Replies: 30
- Views: 12207
Re: Outpost in the Dragon's Maw
Gave the game a small update (over weeks, eh, not making progress too fast here), now it has a title screen and some end-game sounds. And very few ROM bytes left. Will still give this some polish before I would say release ready (once there will of course set up its Wiki, and also post it to a few p...
- Sat Feb 24, 2024 10:36 am
- Forum: Games & Demos
- Topic: IKD - Atari Combat remake
- Replies: 172
- Views: 77730
Re: IKD - Atari Combat remake
The flickering seen in Uzem I believe emerges from this line: https://github.com/danboid/IKD/blob/main/IKD.c#L632 I see that the title screen is redrawn in every frame here https://github.com/danboid/IKD/blob/main/IKD.c#L174 (Indentation is a bit jumbled up around there, but it is clear enough that ...
- Sat Feb 24, 2024 1:28 am
- Forum: Games & Demos
- Topic: IKD - Atari Combat remake
- Replies: 172
- Views: 77730
Re: IKD - Atari Combat remake
Yes, there is something clearly going on here. Now it seems like it behaves differently on real HW (a channel apparently missing), Uzem (flickering) and CUzebox (audio and video seemingly as it would be intended). The CUzebox emulator tracks the video refresh rate with audio frequency to keep both i...
- Thu Feb 08, 2024 12:10 am
- Forum: Games & Demos
- Topic: Project Palagonite
- Replies: 7
- Views: 199
Re: Project Palagonite
Trying to do C++ on the Uzebox has just the same caveats like trying to do C++ on other similarly constrained embedded environments. There are a fair few around (including 32 bits) where inattentive use of C++ would cause issues like quickly running out of ROM or RAM, or possibly not being able to j...
- Thu Feb 08, 2024 12:03 am
- Forum: Games & Demos
- Topic: IKD - Atari Combat remake
- Replies: 172
- Views: 77730
Re: IKD - Atari Combat remake
Some ideas for debugging: Probably the simplest if suspecting some ALU or timing issue, assuming this is mostly C code, is to tweak compiler settings, to see whether it changed anything. Some compiler settings for example could be more prone to produce some instruction combination which the emulator...