mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-26 00:29:27 +00:00
Get tests working again on desktop Linux
This commit is contained in:
parent
3ddfe2953e
commit
3b5f57b0cf
|
@ -140,7 +140,13 @@ void test_common_init(bool do_cputhread) {
|
|||
speaker_init();
|
||||
MB_Initialize();
|
||||
#endif
|
||||
|
||||
cpu_pause();
|
||||
reinitialize();
|
||||
cpu_resume();
|
||||
|
||||
extern volatile uint8_t emul_reinitialize;
|
||||
emul_reinitialize = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
//
|
||||
|
||||
#include "testcommon.h"
|
||||
#include "uthash.h"
|
||||
|
||||
#define MSG_SIZE 256
|
||||
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
#define TYPE_TRIGGER_WATCHPT() \
|
||||
test_type_input("POKE7987,255:REM TRIGGER DEBUGGER\r")
|
||||
|
||||
extern pthread_mutex_t interface_mutex; // TODO FIXME : raw access to CPU mutex because stepping debugger ...
|
||||
|
||||
static void testdisk_setup(void *arg) {
|
||||
RESET_INPUT();
|
||||
apple_ii_64k[0][MIXSWITCH_ADDR] = 0x00;
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include "testcommon.h"
|
||||
|
||||
extern pthread_mutex_t interface_mutex; // TODO FIXME : raw access to CPU mutex because stepping debugger ...
|
||||
|
||||
static void testdisplay_setup(void *arg) {
|
||||
test_common_setup();
|
||||
apple_ii_64k[0][MIXSWITCH_ADDR] = 0x00;
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
#define TYPE_TRIGGER_WATCHPT() \
|
||||
test_type_input("POKE7987,255:REM TRIGGER DEBUGGER\r")
|
||||
|
||||
extern pthread_mutex_t interface_mutex; // TODO FIXME : raw access to CPU mutex because stepping debugger ...
|
||||
|
||||
static void testvm_setup(void *arg) {
|
||||
RESET_INPUT();
|
||||
apple_ii_64k[0][MIXSWITCH_ADDR] = 0x00;
|
||||
|
|
Loading…
Reference in New Issue
Block a user