prefix hex numbers with "$"

This commit is contained in:
nino-porcino 2022-03-25 14:56:58 +01:00
parent db9f38b722
commit 550e0ba1cf
5 changed files with 12 additions and 12 deletions

View File

@ -412,11 +412,11 @@ void send_directory_entry(int command) {
if(x != NULL) {
*x++ = 0;
if(x[0]=='0' && x[1]=='6') {
strcpy(type,"BIN ");
strcpy(type,"BIN $");
strcpy(address,x+2);
}
else if(x[0]=='F' && x[1]=='1') {
strcpy(type,"BAS ");
strcpy(type,"BAS $");
strcpy(address,x+2);
}
else {

View File

@ -86,9 +86,9 @@ void comando_load_bas() {
// print feedback to user
woz_putc('\r');
woz_puts(filename);
woz_putc('\r');
woz_puts("\r$");
woz_print_hexword(start_address);
woz_putc('.');
woz_puts("-$");
woz_print_hexword((word)token_ptr);
woz_puts(" (");
utoa(tmpword, filename, 10); // use filename as string buffer
@ -168,9 +168,9 @@ void bas_file_info() {
}
void bas_info() {
woz_puts("(LOMEM=");
woz_puts("(LOMEM=$");
woz_print_hexword((word) *BASIC_LOMEM);
woz_puts(" HIMEM=");
woz_puts(" HIMEM=$");
woz_print_hexword((word) *BASIC_HIMEM);
woz_putc(')');
}

View File

@ -50,9 +50,9 @@ void comando_read() {
// print feedback to user
woz_putc('\r');
woz_puts(filename);
woz_putc('\r');
woz_puts("\r$");
woz_print_hexword(start_address);
woz_putc('.');
woz_puts("-$");
woz_print_hexword((word)token_ptr);
woz_puts(" (");
utoa(tmpword, filename, 10); // use filename as string buffer

View File

@ -60,9 +60,9 @@ void comando_write() {
// print feedback to user
woz_putc('\r');
woz_puts(filename);
woz_puts(":\r");
woz_puts(":\r$");
woz_print_hexword(start_address);
woz_putc('.');
woz_puts("-$");
woz_print_hexword(end_address);
woz_puts(" (");
utoa(tmpword, filename, 10); // use filename as string buffer

View File

@ -251,9 +251,9 @@ void console() {
}
TIMEOUT_MAX = tmpword;
}
woz_puts("TIMEOUT MAX:");
woz_puts("TIMEOUT MAX: $");
woz_print_hexword(TIMEOUT_MAX);
woz_puts(" CURR:");
woz_puts(" CURR: $");
woz_print_hexword(TIMEOUT_RANGE);
TIMEOUT_RANGE = 0;
}