Move dowlnoad code slightly from $300 to $301

This commit is contained in:
dschmenk 2013-09-10 15:25:58 -07:00
parent 42e223c818
commit 2e91f064a8

View File

@ -71,7 +71,7 @@
/* /*
* ProDOS call template. * ProDOS call template.
*/ */
#define PRODOS_CALL 0x0300 #define PRODOS_CALL 0x0301
#define PRODOS_CALL_LEN 0x08 #define PRODOS_CALL_LEN 0x08
#define PRODOS_CMD 0x03 #define PRODOS_CMD 0x03
#define PRODOS_PARAMS 0x07 #define PRODOS_PARAMS 0x07
@ -83,12 +83,12 @@
#define PRODOS_IO_BUFFER_LEN 0x0400 #define PRODOS_IO_BUFFER_LEN 0x0400
#define PRODOS_IO_BUFFER_NUM 8 #define PRODOS_IO_BUFFER_NUM 8
static unsigned char prodos[32] = { static unsigned char prodos[32] = {
// ORG @ $300 // ORG @ $301
0x20, 0x00, 0xBF, // JSR $BF00 (PRODOS) 0x20, 0x00, 0xBF, // JSR $BF00 (PRODOS)
0x00, // DB CMD 0x00, // DB CMD
0x07, 0x03, // DW PARAMS 0x08, 0x03, // DW PARAMS
0x60, // RTS 0x60, // RTS
// PARAMS @ $307 // PARAMS @ $308
0x00 // PARAM_COUNT 0x00 // PARAM_COUNT
}; };
/* /*