Described how we would build Equi for Apple II and started to debug the process
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user