new WIP Pong example, change window setup API names, multi-layer in SDL

This commit is contained in:
2023-11-08 23:46:18 +01:00
parent 014f3eabab
commit 92e6e2cdb9
14 changed files with 255 additions and 117 deletions

View File

@@ -67,7 +67,6 @@ void __fastcall__ pal_spr_bright(unsigned char bright);
void __fastcall__ pal_bg_bright(unsigned char bright);
// wait actual TV frame, 50hz for PAL, 60hz for NTSC
void __fastcall__ ppu_wait_nmi(void);
@@ -185,7 +184,6 @@ void __fastcall__ bank_spr(unsigned char n);
void __fastcall__ bank_bg(unsigned char n);
// get random number 0..255 or 0..65535
unsigned char __fastcall__ rand8(void);
unsigned int __fastcall__ rand16(void);
@@ -194,7 +192,6 @@ unsigned int __fastcall__ rand16(void);
void __fastcall__ set_rand(unsigned int seed);
// when display is enabled, vram access could only be done with this vram update system
// the function sets a pointer to the update buffer that contains data and addresses
// in a special format. It allows to write non-sequental bytes, as well as horizontal or
@@ -266,7 +263,6 @@ void __fastcall__ oam_meta_spr_clip(signed int x,unsigned char y,const unsigned
void __fastcall__ nmi_set_callback(void (*callback)(void));
#define PAD_A 0x01
#define PAD_B 0x02
#define PAD_SELECT 0x04