beebasm icon indicating copy to clipboard operation
beebasm copied to clipboard

Improve verbose output for INCBIN

Open mungre opened this issue 3 years ago • 0 comments

INCBIN should at least write the start address as verbose output, and maybe the file name.

lovebug's original query:

heres a small bit of code and the listing it generates

org	page8000
.swramStart
	skip 16
.chrTable
	incbin "img-font.bin"
.chrTableEnd

.swramStart
     8000
.chrTable
.chrTableEnd

you can see that swramStart address label is generated but chrTable chrTableEnd address labels are missing, i have a lot of incbins one after the other and im not getting any address lables

however i can work around this problem by adding skip 0

org	page8000
.swramStart
	skip 16
.chrTable
	skip 0
	incbin "img-font.bin"			; load font table into memory
.chrTableEnd
	skip 0
.swramStart
     8000
.chrTable
     8010
.chrTableEnd
     810F

mungre avatar Jul 14 '21 13:07 mungre