mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-25 19:31:36 +00:00
Real-time dropout only makes sense on the Teensy; don't force it on SDL
This commit is contained in:
parent
687a096702
commit
a93b14bc9c
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ LDFLAGS=-L/usr/local/lib
|
|||||||
SDLLIBS=-lSDL2 -lpthread
|
SDLLIBS=-lSDL2 -lpthread
|
||||||
FBLIBS=-lpthread
|
FBLIBS=-lpthread
|
||||||
|
|
||||||
CXXFLAGS=-Wall -I/usr/include/SDL2 -I .. -I . -I apple -I nix -I sdl -I/usr/local/include/SDL2 -g -O3
|
CXXFLAGS=-Wall -I/usr/include/SDL2 -I .. -I . -I apple -I nix -I sdl -I/usr/local/include/SDL2 -g -O3 -DSUPPRESSREALTIME
|
||||||
|
|
||||||
TSRC=cpu.cpp util/testharness.cpp
|
TSRC=cpu.cpp util/testharness.cpp
|
||||||
|
|
||||||
|
@ -562,9 +562,11 @@ uint8_t AppleMMU::readSwitches(uint16_t address)
|
|||||||
|
|
||||||
case 0xC030: // SPEAKER
|
case 0xC030: // SPEAKER
|
||||||
g_speaker->toggle(g_cpu->cycles);
|
g_speaker->toggle(g_cpu->cycles);
|
||||||
|
#ifndef SUPPRESSREALTIME
|
||||||
g_cpu->realtime(); // cause the CPU to stop processing its outer
|
g_cpu->realtime(); // cause the CPU to stop processing its outer
|
||||||
// loop b/c the speaker might need attention
|
// loop b/c the speaker might need attention
|
||||||
// immediately
|
// immediately
|
||||||
|
#endif
|
||||||
return FLOATING;
|
return FLOATING;
|
||||||
|
|
||||||
case 0xC050: // CLRTEXT
|
case 0xC050: // CLRTEXT
|
||||||
@ -721,9 +723,11 @@ void AppleMMU::writeSwitches(uint16_t address, uint8_t v)
|
|||||||
// Writes toggle the speaker twice
|
// Writes toggle the speaker twice
|
||||||
g_speaker->toggle(g_cpu->cycles);
|
g_speaker->toggle(g_cpu->cycles);
|
||||||
g_speaker->toggle(g_cpu->cycles);
|
g_speaker->toggle(g_cpu->cycles);
|
||||||
|
#ifndef SUPPRESSREALTIME
|
||||||
g_cpu->realtime(); // cause the CPU to stop processing its outer
|
g_cpu->realtime(); // cause the CPU to stop processing its outer
|
||||||
// loop b/c the speaker might need attention
|
// loop b/c the speaker might need attention
|
||||||
// immediately
|
// immediately
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case 0xC050: // graphics mode
|
case 0xC050: // graphics mode
|
||||||
|
@ -139,10 +139,6 @@ void DiskII::Reset()
|
|||||||
|
|
||||||
uint8_t DiskII::readSwitches(uint8_t s)
|
uint8_t DiskII::readSwitches(uint8_t s)
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
g_cpu->realtime(); /* cause the CPU to stop processing its outer
|
|
||||||
* loop b/c the disk might need attention immediately */
|
|
||||||
#endif
|
|
||||||
switch (s) {
|
switch (s) {
|
||||||
case 0x00: // change stepper motor phase
|
case 0x00: // change stepper motor phase
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user