diff --git a/demos/mandel.asm b/demos/mandel.asm index d6154985..452a65a1 100644 --- a/demos/mandel.asm +++ b/demos/mandel.asm @@ -1,5 +1,6 @@ - .ORG 0x0000 + .ORG 0x8000 ; +#undef FPGA #define POINTER R12 ; #include "../monitor/sysdef.asm" @@ -7,10 +8,10 @@ ; DIVERGENT .EQU 0x0400 ; Constant for divergence test X_START .EQU -0x0200 ; -512 = - 2 * scale with scale = 256 -X_END .EQU 0x0080 ; +128 +X_END .EQU 0x0100 ; +128 X_STEP .EQU 0x000A ; 10 -Y_START .EQU -0x0100 ; -256 -Y_END .EQU 0x0100 ; 256 +Y_START .EQU -0x0180 ; -256 +Y_END .EQU 0x0180 ; 256 Y_STEP .EQU 0x0019 ; 25 ITERATION .EQU 0x001A ; Number of iterations ; diff --git a/test_programs/regbank.asm b/test_programs/regbank.asm index a424a379..9ce2e66c 100644 --- a/test_programs/regbank.asm +++ b/test_programs/regbank.asm @@ -13,6 +13,7 @@ ; ; done by sy2002 on August 2015 +#define FPGA IO$TIL_BASE .EQU 0xFF10 ; Address of TIL-display ; about 10.000.000 cycles are needed to delay 1 sec @@ -31,7 +32,7 @@ VAR_DIFF .EQU 0x8000 ; variable in RAM to store the ; difference between a register ; value and the expected value - .ORG 0x0000 + .ORG 0x8400 MOVE STACK_TOP, R13 ; setup stack pointer