diff options
-rw-r--r-- | console.s | 3 | ||||
-rw-r--r-- | taipan.c | 10 |
2 files changed, 5 insertions, 8 deletions
@@ -35,7 +35,8 @@ _clr_screen: ; same as gotoxy(0,0); clrtobot(); _clrtobot: ; same as clrtoline(24); lda #24 - bne _clrtoline + ;bne _clrtoline ; we'd have to do this if ROWCRS were non-zero-page + .byte $2c ; see "bit trick" explanation below _clrtoeol: lda ROWCRS @@ -1729,9 +1729,7 @@ void port_stats(void) */ gotoxy(32, 3); - // rvs_on(); cputs(months + 4 * (month - 1)); - // rvs_off(); cspace(); cprintuint(year); @@ -1749,12 +1747,9 @@ void port_stats(void) gotoxy(29, 12); clrtoeol(); - i = status / 20; - // if(i < 2) rvs_on(); - cputs(st[i]); + cputs(st[status / 20]); cputc(':'); cprintuint(status); - // rvs_off(); gotoxy(6, 14); cblank(14); @@ -2909,7 +2904,8 @@ int port_choices(void) { else // cputs(item[choice]); print_msg(item[choice]); - cputc(':'); + // cputc(':'); + cprint_colon_space(); gotox(11 + ((choice & 1) * 18)); cprintulong(price[choice]); if(choice == 1) crlf(); |