]> git.sur5r.net Git - c128-kasse/commit
vdc: write 16bit addresses just like KERNAL does
authorMaik Fischer <maikf@qu.cx>
Sun, 15 Oct 2017 21:25:34 +0000 (23:25 +0200)
committerMaik Fischer <maikf@qu.cx>
Sun, 15 Oct 2017 21:25:34 +0000 (23:25 +0200)
commit77ae2036a8b1c4f0897f3a50fadc86edff6d5b77
tree582cbdeba3c0368f6dd45203e4de1b9822bb34b2
parent806281f179c9bdf3fc5016baedc2c9d1a999cdf6
vdc: write 16bit addresses just like KERNAL does

I read somewhere on the internet that the order of writing the high and low
address bytes actually matter. So we do it just like the KERNAL does:
First write the high address, then the low one:

https://web.archive.org/web/20080202025255/singularcrew.hu/c128rom/C128_ROM_commented.html#$CE0C
src/vdc_util.s