>> Last week I got to TurboGrafx-16 game console and currently thinking how to
>> program it in C. My idea is to create HuCard with SD CARD and RAM. Simple
>> bootloader chooses the game from SD card, loads it into RAM and runs it.
>
> The HuC is not quite a 6502. cc65 supports it sort of but the HuC
> weirdnesses do require some care and workarounds because it places the
> zero page at $20xx unlike a real 6502. That in turn breaks anything that
> assumes zp accesses and 00xx accesses end up on the same page.
>
> Alan<br><br>Strange that this message did not come to my mailbox.<br><br>The 
> truth is that HUC6280 is base don 65C02 with some extension. It contains MMU 
> <br>which can handle 2MB of RAM (21 address bits) with 8kB pages. Reset 
> vector<br>stays where it is on 6502 (0x1FFE, 1FFF) and usually code jumps to 
> 0xE000.<br>Internal MMU's reg MPR7 is set to zero hence physically the code 
> jumps to 0x000000.<br><br>Better description of the whole system is 
> here:<br>http://archaicpixels.com/Main_Page<br><br>Anyway Jonathan does not 
> seem to work on this port anymore.<br><br>Vaclav<br>
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to