Menu

#11 multiple origins (* = ) in a flat binary file

1.08
closed
nobody
None
5
2021-03-20
2020-08-09
pfeuh
No

Hello,

Testing making a ROM C000 - FFFF, I assemble this code;

atasm106.exe -r test.asm -oROM

    * = $c000
main
    brk


    * = $fffa ; nmi vector
    .word $1234


    * = $fffc ; run vector
    .word main


    * = $fffe ; irq vector
    .word $5678

I've got a binary file of size $4000, as expected. The first byte is a brk as expected. The 4k ROM is stuffed with $ff as expected... But the 6 last bytes (which should be the 3 vector) are also stuffed with $ff. I miss perhaps something, but I thank It could be a bug.

Discussion

  • Peter Hinz

    Peter Hinz - 2021-03-20

    This is working in version 1.8

     
  • schmelze

    schmelze - 2021-03-20
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB