Logicielsmoto.com http://www.logicielsmoto.com/phpBB/ |
|
[C6809] Help with scalability http://www.logicielsmoto.com/phpBB/viewtopic.php?f=3&t=576 |
Page 1 sur 1 |
Auteur: | GarlandRaven [ 22 Oct 2018, 00:00 ] |
Sujet du message: | [C6809] Help with scalability |
Hi everyone, i need a little help to handle the assets of my project. Instead of having a lot of FCB in the middle of the code, i'd like to include a binary sequence to load at specific memory address. So instead of Code: THMIDLE FCB $CC,$00,$0C,$CC .1A FCB $CC,$0F,$00,$CC .2A FCB $CC,$FF,$00,$CC .3A ... I would use a file containing CC000CCCCC0F00.. and so on. Now i should accomplish this with a INCBIN, and on the MacroAssembler 3.6 was possibile to do this: Code: ORG $A000 FCB $01,$02,$03,$04,$05,$06,$07,$08 END Assemble -> S ASSET.BIN A000 A007 to get a file with 01 02 03 04 05 06 07 08 to include at A000 I tried something similar on C689, like Code: (main) TEST INCBIN FOO END (include) FOO.BIN ORG &A000 ... But it throws a "FOO.BIN: File Not Found" exception. Thank you so much |
Auteur: | Samuel Devulder [ 25 Oct 2018, 21:25 ] |
Sujet du message: | Re: [C6809] Help with scalability |
INCBIN is intended to include BIN file that are present in the windows directory, not in the ASS file. Therefore, I'd use a standard INCLUD in place of INCBIN to do what you intended to do. It'll work fine since there are no memory issues with c6809. |
Page 1 sur 1 | Heures au format UTC + 1 heure |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |