Skip to content

Commit 620eb6e

Browse files
committed
experimental static test.
1 parent ad842c2 commit 620eb6e

File tree

14 files changed

+59
-46
lines changed

14 files changed

+59
-46
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CONFIG :=
2727

2828
# Additional C compiler flags and options.
2929
# Default: none
30-
CFLAGS = -Oris --static-locals
30+
CFLAGS = -Os
3131

3232
# Additional assembler flags and options.
3333
# Default: none

dist.atari/files/atrami.mou

-1.01 KB
Binary file not shown.

dist.atari/files/atrjoy.mou

-690 Bytes
Binary file not shown.

dist.atari/files/atrrdev.ser

-1.04 KB
Binary file not shown.

dist.atari/files/atrst.mou

-1.01 KB
Binary file not shown.

dist.atari/files/atrtrk.mou

-996 Bytes
Binary file not shown.

dist.atari/files/atrtt.mou

-806 Bytes
Binary file not shown.

src/atari/io.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <atari.h>
1111
#include <stdbool.h>
12-
#include <peekpoke.h>
12+
#include <peekPOKE.h>
1313
#include <stdint.h>
1414
#include <string.h>
1515
#include <serial.h>
@@ -69,6 +69,7 @@ void io_recv_serial_flow_off_atari(void)
6969
if (io_load_successful==false)
7070
return;
7171
xoff_enabled=true;
72+
POKE(712,35);
7273
ser_put(0x13);
7374
}
7475

@@ -80,6 +81,7 @@ void io_recv_serial_flow_on_atari(void)
8081
if (io_load_successful==false)
8182
return;
8283
xoff_enabled=false;
84+
POKE(712,0);
8385
ser_put(0x11);
8486
}
8587

src/atari/prefs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ void prefs_show_greeting(void)
2828
/* if (io_load_successful==false) */
2929
/* prefs_display("serial driver didn't load. Check handler."); */
3030
/* else */
31-
/* prefs_display("platoterm ready - option for setup"); */
31+
prefs_clear();
32+
prefs_display("platoterm 1.3 ready - option for setup");
3233
}
3334

3435
/**

src/atari/terminal_char_load.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static const unsigned char PIX_THRESH[]={0x03,0x02,0x03,0x03,0x02, // Pixel thre
3333
0x03,0x02,0x03,0x03,0x02,
3434
0x03,0x02,0x03,0x03,0x02};
3535

36-
static unsigned char PIX_WEIGHTS[16];
36+
static unsigned char PIX_WEIGHTS[30];
3737

3838
static const unsigned char TAB_0_25[]={0,5,10,15,20,25}; // Given index 0 of 5, return multiple of 5.
3939

0 commit comments

Comments
 (0)