Commit Graph

15 Commits

Author SHA1 Message Date
9493aefa68 rename __CDECL16_ENTRY and EXIT 2025-09-07 13:29:24 -04:00
6f2fc627be new fancy macros to make it nicer to call functions 2025-09-07 13:16:37 -04:00
130cd22ff1 remove unreal mode stuff from cdecl16.inc 2025-09-05 20:33:00 -04:00
9a478aa4d4 added another __REFLAT variant 2025-09-05 16:28:01 -04:00
534e04ef34 fix a typo 2025-09-05 15:48:43 -04:00
b5ae11f850 set ds/es to a tiny memory model after entering Unreal mode
ss/fs/gs will all be huge/flat model after
2025-09-05 15:43:22 -04:00
fa4524aa59 add macros to go from real <-> unreal 2025-09-05 14:39:16 -04:00
d7b29d9113 __CDECL16_ENTRY now takes 0-1 params, if you give it a size it sets up local varible redzone 2025-09-05 11:44:30 -04:00
8d5996566e Update licensing and switch back to GPLv3 😅 2025-08-22 11:41:33 -04:00
046821ff7a add fastcall-ish macro for light functions
only does a stack frame setup with no locals space
2024-10-17 20:35:12 -04:00
e8fb22c826 somewhat of a cludge, but added a macro to save all caller saved regs 2024-10-11 14:25:01 -04:00
5ccd2fb12f reduce proceedure local storage to 16 bytes 2024-10-11 12:59:36 -04:00
f5f5a330cd tons more work on modularizing the code 2024-10-05 18:55:00 -04:00
d0635f4f3a add macros to prevent __CDECL16 stuff from being defined multiple times 2024-10-04 09:51:44 -04:00
0c36f9f1fd added entry & exit macros 2024-10-03 14:46:47 -04:00