Described how we would build Equi for Apple II and started to debug the process

This commit is contained in:
Luxferre
2022-08-06 12:14:23 +03:00
parent 152744e84a
commit 62b84f735b
4 changed files with 25 additions and 8 deletions
+8 -3
View File
@@ -27,6 +27,8 @@
#include <conio.h>
#else
#define cgetc() (fgetc(stdin))
#endif
/* Definitions section */
@@ -56,12 +58,12 @@
/* Command buffer start address */
#ifndef CMD_BUF_START
#define CMD_BUF_START 0x5000
#define CMD_BUF_START 0x3b80
#endif
/* Command buffer size in bytes */
#ifndef CMD_BUF_SIZE
#define CMD_BUF_SIZE 0x5700
#define CMD_BUF_SIZE 15600
#endif
/* Some necessary constants and offsets derived from the above values */
@@ -129,7 +131,10 @@ int main(int argc, char* argv[]) {
ram.cmd_start = CMD_BUF_START;
ram.cmd_size = CMD_BUF_SIZE;
printf("0x%X", ram.cmd_size);
printf("Equi command buffer: 0x%X\n", ram.cmd_size);
cgetc();
return 0;
}