Skip to content

INCBIN issue #323

@ejssoft2

Description

@ejssoft2
Version Platform Topic
v1.22.0 W11-64

Fantastic job, I still notice a possible bug for some time: in the following code the INCBIN (the file is 10 bytes long, just like the block), makes the compiler hang, if you comment the INCBIN and uncomment the block, normal operation, warning the negative block at line 10 ( block 65526 -$, 255). if the DEFINE is 65523, both report correctly the 0 byte block)...

  DEVICE ZXSPECTRUM48

  DEFINE LOCAL 65524

  org LOCAL

  ld b, 1
  ret

  block 65526 -$, 255

  INCBIN "10bytes.bin"
  //block 10, 255

t_end
  SAVEBIN "teste.bin", LOCAL, t_end - LOCAL

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions