ROM address map

All 680x0 related coding posts in this section please.

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Post Reply
User avatar
Mr Nours
Captain Atari
Captain Atari
Posts: 240
Joined: Mon Jun 17, 2002 11:10 am
Location: Montpellier, France
Contact:

ROM address map

Post by Mr Nours »

Hello Guys,

Do you know if there is somewhere an address map of the ROM?

I want to get the bee bitmap or the system font for a basic scrolltext but i don't find any related document.

Does the address of the system font is always the same between TOS versions?

Thanks :D
______
Fuzion, the best french Atari CD crew ->The Fuzion Shrine!
ST emulation and more ->Emulation Atari ST(fr)!
User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 1949
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: ROM address map

Post by Cyprian »

different TOS version have different internal data organization.
you can change mouse pointer to busybee and just copy its shape.

regarding fonts, LINEA returns "Addr. of monospace font data "
http://toshyp.atari.org/en/006003.html

Code: Select all

void     *v_fnt_ad;          /*  -$16: Addr. of monospace font data */
Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.appspot.com/
ThorstenOtto
Atari God
Atari God
Posts: 1190
Joined: Sun Aug 03, 2014 5:54 pm

Re: ROM address map

Post by ThorstenOtto »

For a list of hardware addresses, just take a look at the attached file (hardware.txt, maybe can be found elsewhere, but was to lazy to search for it ;)

To get the address of the system fonts, you need to call linea0(). a0 will return a pointer to the linea-variables. You can then either use the def_font member or the cur_font member of the negative linea variables, or look at the list of fonts returned in register a1 of the call, depending of what you want to do. cur_font and def_font point to font headers, a1 points to an array of pointers to font headers.

Note that you only get the system fonts by these methods, not any fonts loaded by GDOS (eg. NVDI).

And no, they are at different locations in different ROM versions, their address even differs for different language versions.

If you mean the mouse shape of the busy bee with "bee bitmap": this is part of GEM.RSC, and not found in the fonts.
You do not have the required permissions to view the files attached to this post.
Last edited by ThorstenOtto on Fri Jun 19, 2020 3:17 pm, edited 3 times in total.
User avatar
AdamK
Captain Atari
Captain Atari
Posts: 327
Joined: Wed Aug 21, 2013 8:44 am

Re: ROM address map

Post by AdamK »

The cleaner way would be to make print text using system function and then grab it from screen. There are many TOS versions and font data may be all over the place.

But, the best way woud be to embed your own fonts, as system fonts could be changed by the user.
Atari: FireBee, Falcon030 + CT60e + SuperVidel + SvEthlana, TT, 520ST + 4MB ST RAM + 8MB TT RAM + CosmosEx + SC1435, 1040STFM + UltraSatan + SM124, 1040STE 4MB ST RAM + 8MB TT RAM + CosmosEx + NetUSBee + SM144 + SC1224, 65XE + U1MB + VBXE + SIDE2, Jaguar, Lynx II, 2 x Portfolio (HPC-006)

Adam Klobukowski [adamklobukowski@gmail.com]
Post Reply

Return to “680x0”