From: Mats Andrén (matan325_at_student.liu.se)
Date: 2002-11-28 00:57:35
>mmmh i remember using RGBDS (which is a simelar toolset as cc65, but for the >gameboy)... that one allowed to atleast define which code goes into which >bank....and it has an assembler-directive that returns the bank of a certain >symbol..... ie (i dont remember exact syntax, any rgbds users forgive me ;=P) I guess it doesn't really matter, but... In RGBDS the syntax could look like this: ================= MusicBank equ 2 GfxBank equ 3 SECTION "main program code",home[$0150] ;--- TIMER SETUP ld a,%00000010 ; Set timer to fastest freq ldh [$07],a ... blah blah.. SECTION "music",DATA[$4000],BANK[MusicBank] INCBIN "commandohubbard.bin" ; player code and music data SECTION "gfxdata",data[$4000],BANK[GfxBank] INCBIN "font.bin" ================= I dunno.. Maybe you guys get inspired by these kinds of things? ;) Regards.. Autoboy/Hack'n Trade ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-11-28 01:00:27 CET