mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-06-01 18:41:13 -07:00
got gp_screen_init working on the assembler side!
Will not be doing most of the course in assembly for now. Assemblers are missing a bunch of ergonomics not related to to instruction abstraction. Mostly related to offset and data typw width calulations and how to ergonomically utilize those symbols within the assembly syntax. The GNU gas macros are terrible and struct member resolution must be done manually. There is no utilities for doing stack allocations with alignment in mind either, no way to get info on the system's calling convention for foreign symbols (not even as a diagnostic, etc). C is a terrible for inline assembly, and gas doesn't support grabbing C struct info from header files (even though they are part of the same toolchain collection). There is no utilities for doing stack allocations with alignment in mind either, no way to get info on the system's calling convention for foreign symbols (not even as a diagnostic, etc). Low-level dev really is in a catch 22 of bad tooling.
This commit is contained in:
@@ -11,7 +11,7 @@ typedef def_struct(DrawEnv) {
|
||||
A2_S16 drawing_offset;
|
||||
Rect_S16 texture_window;
|
||||
S16 texture_page;
|
||||
BYTE flag_dither;
|
||||
BYTE flag_dither;
|
||||
BYTE flag_draw_on_display;
|
||||
BYTE enable_auto_clear;
|
||||
RGB8 initial_bg_color;
|
||||
|
||||
Reference in New Issue
Block a user