- Push de rigor
This commit is contained in:
2
Makefile
2
Makefile
@@ -5,4 +5,4 @@ run: compile
|
|||||||
./z80
|
./z80
|
||||||
|
|
||||||
debug: compile
|
debug: compile
|
||||||
gdb z80
|
gdb -ex run z80
|
||||||
|
|||||||
@@ -57,6 +57,9 @@ namespace zx_ula
|
|||||||
static uint8_t ear = 0;
|
static uint8_t ear = 0;
|
||||||
static uint8_t mic = 0;
|
static uint8_t mic = 0;
|
||||||
|
|
||||||
|
// this variable keeps track of the last "1" written to the sound buffer, so when streaming it in the audio callback, if there
|
||||||
|
// are only zeros remaining in the buffer, we just discard it. It's a poor man's method of keeping the buffer size in control.
|
||||||
|
// This is useless when there are music, sounds, tape loading, etc... as 1's and 0's keep alternating
|
||||||
static uint16_t last_1 = 0;
|
static uint16_t last_1 = 0;
|
||||||
|
|
||||||
void update_zx_keyboard()
|
void update_zx_keyboard()
|
||||||
|
|||||||
Reference in New Issue
Block a user