View Single Post
Old 11 March 2016, 15:31   #15
Vot
Registered User
 
Join Date: Aug 2012
Location: Australia
Posts: 651
Quote:
Originally Posted by Leffmann View Post
You have to call OpenLibrary to get the base address of graphics.library. You pass a pointer to a null-terminated string for the library name in A1, and the version number you require in D0.

For the symbols, you can use f.ex. ASM-One to include the header file and a few lines of
printv gb_ChipRevBits0
etc. to get the actual values. The library vector offsets are not in the NDK, it's always been a mess like this, but you can find them as separate include files in a few posts here in the Coders forum.

But while you have ASM-One running... why not just paste the code and a bootblock header into the editor, assemble it, and use the 'ws' and 'cc' commands to write the working bootblock to disk and have it done with?

Aren't the lvo,s generated from the sfd files in the ndk. I think someone had a tool to do it (http://www.dstoecker.eu/programs.html#fd2pragma).
Vot is offline  
 
Page generated in 0.04862 seconds with 11 queries