File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ RIA_ATTR_RLN_LENGTH := $03
8181RIA_ATTR_LRAND := $04
8282RIA_ATTR_BEL := $05
8383RIA_ATTR_LAUNCHER := $06
84+ RIA_ATTR_EXIT_CODE := $07
8485
8586; 6522 VIA
8687VIA := $FFD0 ; VIA base address
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ long __fastcall__ ria_call_long (unsigned char op);
139139#define RIA_ATTR_LRAND 0x04
140140#define RIA_ATTR_BEL 0x05
141141#define RIA_ATTR_LAUNCHER 0x06
142+ #define RIA_ATTR_EXIT_CODE 0x07
142143
143144/* C API for the operating system. */
144145
@@ -293,4 +294,11 @@ typedef struct
293294 unsigned char has_opacity_metadata ; // bool
294295} vga_mode4_asprite_t ;
295296
297+ typedef struct {
298+ int x_pos_px ;
299+ int y_pos_px ;
300+ unsigned xram_sprite_ptr ;
301+ unsigned palette_ptr ;
302+ } vga_mode5_sprite_t ;
303+
296304#endif /* _RP6502_H */
Original file line number Diff line number Diff line change 1+ ;
2+ ; 2023, Rumbledethumps
3+ ;
4+ ; initenv - stub for getenv()/putenv() support.
5+ ; The rp6502 target has no host environment variables,
6+ ; so this constructor is intentionally empty.
7+ ;
8+
9+ .export initenv
10+
11+ .segment "ONCE"
12+
13+ .proc initenv
14+
15+ rts
16+
17+ .endproc
You can’t perform that action at this time.
0 commit comments