1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-15 11:05:56 +00:00

Fixes Atari OS devhdl_t, init field needs an JMP byte.

This fixes issue #1002.
This commit is contained in:
Daniel Serpell 2020-01-26 23:55:37 -03:00 committed by Oliver Schmidt
parent a59402d5f5
commit f68cc06ec7

View File

@ -120,8 +120,9 @@ struct __devhdl {
void *put; /* address of PUT BYTE routine -1 */ void *put; /* address of PUT BYTE routine -1 */
void *status; /* address of GET STATUS routine -1 */ void *status; /* address of GET STATUS routine -1 */
void *special; /* address od SPECIAL routine -1 */ void *special; /* address od SPECIAL routine -1 */
unsigned char jmp_inst; /* a "JMP" byte, should be $4C */
void (*init)(void); /* init routine (JMP INIT) */ void (*init)(void); /* init routine (JMP INIT) */
void *reserved; /* unused */ unsigned char reserved; /* unused */
}; };
typedef struct __devhdl devhdl_t; typedef struct __devhdl devhdl_t;