d32.rom 16384Bytes - ROM 16383Bytes ?!?!

A place to discuss everything Dragon related that doesn't fall into the other categories.
Post Reply
jedie
Posts: 656
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

d32.rom 16384Bytes - ROM 16383Bytes ?!?!

Post by jedie »

From http://dragon32.info/info/memmap.html :
$8000-bfff BASIC ROM in 32K mode
But $BFFF-$8000 are 16383Bytes
The "d32.rom" file is 16384Bytes

Why?
... 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
Sarah
Posts: 177
Joined: Wed Apr 13, 2011 3:36 pm
Contact:

Re: d32.rom 16384Bytes - ROM 16383Bytes ?!?!

Post by Sarah »

jedie wrote:From http://dragon32.info/info/memmap.html :
$8000-bfff BASIC ROM in 32K mode
But $BFFF-$8000 are 16383Bytes
The "d32.rom" file is 16384Bytes

Why?
Your maths is slightly faulty. The number of bytes from $8000 to $BFFF inclusive is calculated as 1+$BFFF-$8000.
jedie
Posts: 656
Joined: Wed Aug 14, 2013 12:23 pm
Location: germany
Contact:

Re: d32.rom 16384Bytes - ROM 16383Bytes ?!?!

Post by jedie »

Hm! Thanks. :oops:
... 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
Post Reply