Add IFDEF for "emulator preview" with userprog baked into host

This commit is contained in:
John Lorentzson 2025-07-25 12:32:53 +02:00
parent a48937fe3c
commit 77d30af636

View file

@ -13,7 +13,9 @@
;.include "dubbel_buffer/raster_irqs.s"
.include "mainloop.s"
.ifndef EMULATOR_PREVIEW
.include "loader.s"
.endif
;.include "routines/arithmatic/mult_test.s"
;.include "routines/arithmatic/div_test.s"
@ -42,8 +44,11 @@ JMP exit
.include "routines/arithmatic/mult.s"
.include "routines/arithmatic/div.s"
;batch_userprog:
;.incbin "userprog.bin", 0, 1024
.include "lookup_tables.s"
.ifdef EMULATOR_PREVIEW
batch_userprog:
.incbin "userprog.bin"
.endif
.include "END.s"