Skip to content

Conversation

ZERICO2005
Copy link
Contributor

Removed usage of the 0xE40000 address from standard/common C functions (such as bzero).

boot_(v)snprintf and boot_(v)asprintf still use the 0xE40000 address in their implementation. Which should be okay, since they are platform specific functions.

Since (v)snprintf and (v)asprintf are standard/common C functions, I have removed the option to have them link to boot_(v)snprintf and boot_(v)asprintf.

…ed linking (v)snprintf and (v)asprintf to boot_(v)snprintf and boot_(v)asprintf
@mateoconlechuga mateoconlechuga marked this pull request as ready for review September 1, 2025 17:06
@mateoconlechuga
Copy link
Member

Can you define the linker variable HARDWARE=TICE and only use E40000 if this is defined for the hardware being used?

@ZERICO2005
Copy link
Contributor Author

Added -i $(call QUOTE_ARG,__TICE__ := 1) \ to makefile.mk. if defined __TICE__ is used to check if the hardware/platform is the Ti84/83CE.

Currently, the macro is only defined in ASM and not in C. I am not sure if that is the correct way to define the macro in makefile.mk

@mateoconlechuga mateoconlechuga merged commit 80432ed into master Sep 4, 2025
9 checks passed
@mateoconlechuga mateoconlechuga deleted the fix_e40000_address branch September 4, 2025 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants