]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Atari ST fixes.
authorToni Wilen <twilen@winuae.net>
Sat, 28 Sep 2019 11:24:36 +0000 (14:24 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 28 Sep 2019 11:24:36 +0000 (14:24 +0300)
cputest/atari.S
cputest/cputestgen.ini
cputest/main.c

index f43257a2a35b4b46fc7ed8a9a42f2b9e3d4a752c..79978f50befe5acce947ed34ebcaf3c8776624e6 100644 (file)
@@ -59,6 +59,8 @@ _touser:
        move.l  save_hbl,0x68
        move.l  save_vbl,0x70
 
+       move.w  #0x2300,sr              | enable VBL/MFP 
+
        move.l  old_ssp(pc),-(sp)
        move.w  #0x20,-(sp)
         | we must keep the same value of A7 when going back to user mode
index 73be2a76d7b0bbfb112cfe58d976f463dabdd12f..72256052135d3bfc56044160cc6b73fd1b0f75e7 100644 (file)
@@ -19,10 +19,12 @@ verbose=1
 path=data/
 
 ; Low address space limits. Real hardware must have RAM in this space. Comment out to disable.
+; Start should be zero if Amiga, set to 0x0800 if Atari ST.
 test_low_memory_start=0x0000
 test_low_memory_end=0x8000
 
 ; High address space limits (0x00ff8000 to 0x01000000 is complete space if 24-bit). Comment out to disable.
+; Disable if 32-bit CPU or Atari ST.
 test_high_memory_start=0x00ff8000
 test_high_memory_end=0x01000000
 
@@ -34,6 +36,7 @@ test_memory_start=0x780000
 ;test_memory_start=0x68800000
 ;test_memory_start=0x07800000
 ;test_memory_start=0x08800000
+;test_memory_start=0x340000
 test_memory_size=0x080000
 
 ; number of test rounds (registers are re-randomized after each round)
@@ -56,7 +59,7 @@ feature_flags_mode=1
 
 ; SR min interrupt mask
 ; Amiga: can be zero.
-; Atari ST: should be 3 or larger.
+; Atari ST: should be 4 or larger.
 ; Skips all tests that would set lower interrupt mask.
 feature_min_interrupt_mask=0
 
index a5007050149cc56eeab133f2db2ed3f4bb82e0b5..ef8060262c80c342b47d756dd4d78ad6c19f790e 100644 (file)
@@ -1625,7 +1625,7 @@ static void freestuff(void)
        if (test_memory && test_memory_addr)
                free_absolute(test_memory_addr, test_memory_size);
 #ifdef WAITEXIT
-       getch();
+       getchar();
 #endif
 }