Hi there! I Recently came up with a discussion on which is the best way to initialize the stack pointer (ROM enviroment).
What I usually do is:
ld sp, (HIMEM)
What I am being told is better to do is:
ld sp, f380h
I always thought the first way was the standard and the safest way to do it instead of hardcoding the sp adress... but various MSX developers are telling me that if a DOS2 interface or a Flashjacks with Nextor is present, the ROM won't work, and that I should hardcode sp adress. Am I doing things wrong?
Login or register to post comments