From 77d30af636bec2bc6d6a2ba21e59d2f03e7c04fe Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Fri, 25 Jul 2025 12:32:53 +0200 Subject: [PATCH] Add IFDEF for "emulator preview" with userprog baked into host --- host/source.s | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/host/source.s b/host/source.s index 96fb898..2627f68 100644 --- a/host/source.s +++ b/host/source.s @@ -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"