disassembled Dragon 32 ROM ?
Re: disassembled Dragon 32 ROM ?
I updated the Makefile so that it works with lwasm from LWTOOLS. I confirmed it builds a 100% identical Dragon 32 ROM image.
- Attachments
-
- Makefile.zip
- Updated for use with LWTOOLS
- (363 Bytes) Downloaded 220 times
Re: disassembled Dragon 32 ROM ?
Right here on this forum! It was Phill's Christmas 2011 gifttormod wrote:Wow, there you go. Was this available on the internet somewhere?
viewtopic.php?f=7&t=560&p=2988#p2986
But easy to miss because of the thread's somewhat unrelated title.
The source for DragonDos and SuperDos is also there.
Re: disassembled Dragon 32 ROM ?
Have now done this:
Then i add comments into d32.rom.asm by a Python script ( https://gist.github.com/jedie/6573808 ) and use the information from viewtopic.php?f=8&t=4365
result is here: https://gist.github.com/jedie/6573826
complete diff: https://gist.github.com/jedie/6573826/revisions
Code: Select all
./6809dasm.pl org=0x8000 forceorg=0x8000 end=0xbfff d32.rom >d32.rom.asm
result is here: https://gist.github.com/jedie/6573826
complete diff: https://gist.github.com/jedie/6573826/revisions
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Re: disassembled Dragon 32 ROM ?
That's nice. But really nice is a full commended ROM list, like: https://github.com/jedie/DragonPy/blob/ ... BasROM.LSTjedie wrote:result is here: https://gist.github.com/jedie/6573826
Something like that doesn't exist for Dragon ROM, isn't it?
Again, the UNRAVELLED contains full commended ROM code. But this is from CoCo...
But the ROM code should be very similar, isn't it? So it makes sense to compare it and reuse the commends from the other lists, if the opcode are the same in one block?
Has someone done this in the past?
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Re: disassembled Dragon 32 ROM ?
Again the Question: Has anyone a better disassembled D32 ROM ? Better one as: https://gist.github.com/jedie/6573826 ?
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Re: disassembled Dragon 32 ROM ?
Hi Jedie,
It's not exactly what you asked for but I've found my own disassembly of the D64 32K mode ROMs. I did this about 15 years ago when it seems I must have had a lot of time on my hands
There is also a binary comparison of the D64 32K mode ROMs versus the D32 ROMs. This file will tell you if the area of interest differs between the two machines. That said, the differences aren't that big.
Hope it's of some use.
Edit: Added D32 ROM disassembly
It's not exactly what you asked for but I've found my own disassembly of the D64 32K mode ROMs. I did this about 15 years ago when it seems I must have had a lot of time on my hands
There is also a binary comparison of the D64 32K mode ROMs versus the D32 ROMs. This file will tell you if the area of interest differs between the two machines. That said, the differences aren't that big.
Hope it's of some use.
Edit: Added D32 ROM disassembly
- Attachments
-
- D32ROMDIS.zip
- (84.4 KiB) Downloaded 213 times
-
- D64_32KROMDIS.zip
- (89.31 KiB) Downloaded 238 times
Last edited by sorchard on Sat Nov 01, 2014 10:57 pm, edited 1 time in total.
Stew
Re: disassembled Dragon 32 ROM ?
Stew, that's great. One of the best commented disassemblies I have seen.
Jedie, did you check out Phill's disassembly?
I think there is a certain reluctance around to posting disassemblies of the ROM because of the unclear copyright situation.
Jedie, did you check out Phill's disassembly?
I think there is a certain reluctance around to posting disassemblies of the ROM because of the unclear copyright situation.
Re: disassembled Dragon 32 ROM ?
Thanks!sorchard wrote: It's not exactly what you asked for but I've found my own disassembly of the D64 32K mode ROMs. I did this about 15 years ago when it seems I must have had a lot of time on my hands
Re: disassembled Dragon 32 ROM ?
Yes, it's very good!tormod wrote:Stew, that's great. One of the best commented disassemblies I have seen.
i'm not yet clear how the D32 <-> D64 ROMDIFF.TXT worked.
Yes, but it seems that the work from stew is bettertormod wrote:Jedie, did you check out Phill's disassembly?
The ROMs are download able in archiv. So why not put a disassembly into the Wiki?tormod wrote:I think there is a certain reluctance around to posting disassemblies of the ROM because of the unclear copyright situation.
... too many ideas and too little time ... Related stuff written in Python:
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Dragon 32 emulator / PyDC - Python Dragon 32 converter: https://github.com/jedie/DragonPy
DWLOAD server / Dragon-Lib and other stuff: https://github.com/6809
Re: disassembled Dragon 32 ROM ?
Caution! Sorry, but this listing is not complete. Just an example:jedie wrote:Again the Question: Has anyone a better disassembled D32 ROM ? Better one as: https://gist.github.com/jedie/6573826 ?
Code: Select all
L_942D lda <$50 ; $942d: Jumped to from GIVABF routine at 8c37-8c3f - returns 16 bit value in FAC to BASIC ??
L_9431 stb <$4f
jmp L_9161
L_9441 ldb ,x
beq L_9418
bmi L_941C
L_944B ldb <$4f
Code: Select all
L_942D lda <$50
suba #$80
L_9431 stb <$4f
ldd <$8a
std <$52
sta <$63
sta <$54
jmp L_9161
clr <$54
rts
L_9441 ldb ,x
beq L_9418
ldb 1,x
eorb <$54
bmi L_941C
L_944B ldb <$4f
The dragon on my side: http://klasek.at/hc/dragon/