This code is executed way before RAM has been tested, so there's no
guarantee that we can push anything onto the stack. The surrounding
code already makes this assumption, I suspect it is an oversight here
as the routine called returns via a jmp (a0) that we've already prepared
for.
Adding Gayle IDE Controller-test.
Added a new memorydetectionroutine that so far is a test-option.
When tested better this will be also used to hande fastmem etc at startup.
Added a new memorydetectionrouting that for the moment only is available as a menu-choise in memtest menu, PLEASE report results to me, especially if it finds different amount of memory than others.
And also false reports.. (rememember that you WILL need to do a autoconfig procerdure for autoconfig ram to be visible here)
also started to plan a new memorytestroutine that handles addresserrors etc.
(NOTE!! write do NOT ask. it just writes. and it MIGHT screw up content on your drive.. and due to this NEVER have a disk with
important data in your drive while doing those tests) and you can view the first sector read from disk . (this is by design random)
Fixed bugs in manual memorytest when editing via serialconsole making backspace not working and missaligned text.
Fixed bug so if a loopback adapter is connected it will be detected and disable console-out (noted by BPS in menu will be set to LOOP)
so no more random menu-entries etc whith a loopbackadapter installed in the serialport.
Autoconfig can be stuck in an endless loop. made it stop after 32 boards.
Autoconfig when a board was ROM only, some boards cannot be shutup. so now it assigns a memarea for the ROM to exist. to avoid endless loops. but of some reason memarea will still be just 00..