Re: Dragon emulator written in Python ???
Posted: Mon Sep 16, 2013 4:58 pm
I implement more ops and the Indexed addressing modes: https://github.com/jedie/DragonPy/blob/ ... 09.py#L672
think there must be exist a few bugs
Current output:
Opcode $26 seems to be a wrong value. Because i didn't find any information about this value.
I also didn't know where to start. Now i simply set the programm counter to $b3ba, see: https://github.com/jedie/DragonPy/blob/ ... 09.py#L398
Didn't know if this makes any sense...
think there must be exist a few bugs
Current output:
Code: Select all
init 16384 Bytes ROM (0x8000 - 0xc000)
Read 16383Bytes from d32.rom into ROM 0x8000-0xbfff
init 32768 Bytes RAM (0x0 - 0x8000)
$b3ba *** new op code: $8e (LDX_immediate)
$b3bd addressing 'immediate word' value: $401 | $b3bd: $a000-$bfff - CoCo - Color BASIC ROM
$b3bd LDX immediate: set $401 to index X |: $b3bd: $a000-$bfff - CoCo - Color BASIC ROM
$b3bd *** new op code: $6f (CLR_indexed)
$b3bf indexed addressing mode: postbyte: $83 == 10000011
$b3bf indexed addressing mode ea=$3ff
write $0 to: $3ff: $3ff - D64 - %PRNSEL% selects default printer port 0x00 Parallel, non-0x00 Serial (0x00)
$b3bf *** new op code: $30 (LEAX_indexed)
$b3c1 indexed addressing mode: postbyte: $1 == 00000001
$b3c1 LEAX indexed: set $402 to index X |: $b3c1: $a000-$bfff - CoCo - Color BASIC ROM
$b3c1 *** UNKNOWN OP $26
I also didn't know where to start. Now i simply set the programm counter to $b3ba, see: https://github.com/jedie/DragonPy/blob/ ... 09.py#L398
Didn't know if this makes any sense...