More c89 fixes, disable icons

This commit is contained in:
meepingsnesroms
2018-04-02 19:25:20 -07:00
parent 593c19d336
commit d8abe609db
14 changed files with 26 additions and 15 deletions

1
hwTestSuite/APPL0001.bin Normal file
View File

@@ -0,0 +1 @@
TstS

BIN
hwTestSuite/TstSuite Executable file

Binary file not shown.

BIN
hwTestSuite/TstSuite.prc Normal file

Binary file not shown.

View File

@@ -1,5 +1,6 @@
ICONFAMILY "icon_1.bmp" "icon_2.bmp" "icon_4.bmp" "icon_8.bmp"
SMALLICON "icon_sm.bmp" // icon for P3 list view
//ICONFAMILY "icon_1.bmp" "icon_2.bmp" "icon_4.bmp" "icon_8.bmp"
//SMALLICON "icon_sm.bmp" // icon for P3 list view
//so fracking tired of the icon shit, it can be blank for now
APPLICATION ID 1 "TstS"
VERSION ID 1 "1.00"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -3,7 +3,13 @@
The tests available in the end will be:
Dump Bootloader(Original, EZ, VZ)
Rom Writes
m68k CPU Version
## Warning
The version of gcc avalible for Palm OS is very old, any change you make must be c89 compatible or it wont compile!
If you enable unsafe mode you will have to reboot to exit, this is because it will take over the whole OS including interrupts, reset vectors(force crashes may be required for some tests), I/O ports, RAM control and clock speed.
In the hex viewer registers that are not safe to read will say "UNSAFE" instead of a hex value, the main unsafe reads are the uart registers.

Binary file not shown.

View File

@@ -226,7 +226,7 @@ void testerInit(){
oldLlbar = LLBAR;
/* set to full refresh */
LPXCD = 0;
/*LPXCD = 0;*/
/* display off */
CKCON &= ~0x80;
@@ -237,7 +237,7 @@ void testerInit(){
LLBAR = 10; /* line buffer now 20 bytes */
/* register to control grayscale pixel oscillations */
FRCM = 0xB9;//not listed in Dragonball VZ datasheet
/*FRCM = 0xB9;*//*not listed in Dragonball VZ datasheet*/
LSSA = framebuffer;
@@ -253,10 +253,10 @@ void testerInit(){
UG_ConsoleSetBackcolor(C_WHITE);
UG_ConsoleSetForecolor(C_BLACK);
//make test list, c89 again
/*make test list*/
initTestList();
//load first subprogram
/*load first subprogram*/
subprogramIndex = 0;
subprogramArgsSet = false;
lastSubprogramReturnValue = makeVar(LENGTH_0, TYPE_NULL, 0);
@@ -268,7 +268,7 @@ void testerExit(){
LSSA = oldFramebuffer;
LPXCD = oldLpxcd;
PICF = oldPicf;
VPW= oldVpw;
VPW = oldVpw;
LLBAR = oldLlbar;
}
@@ -281,15 +281,17 @@ void testerFrameLoop(){
}
DWord PilotMain(Word cmd, Ptr cmdBPB, Word launchFlags){
testerInit();
applicationRunning = true;
while(applicationRunning){
testerFrameLoop();
SysTaskDelay(4);/*30 fps*/
if(cmd == sysAppLaunchCmdNormalLaunch){
testerInit();
applicationRunning = true;
while(applicationRunning){
testerFrameLoop();
SysTaskDelay(4);/*30 fps*/
}
testerExit();
}
testerExit();
return(0);
}

BIN
hwTestSuite/tver0001.bin Normal file

Binary file not shown.

View File

@@ -8,3 +8,4 @@ Peripheral Control Register, audio ppm mixing selection
System Control Register, 0xXXFFF000 all upper banks are registers mode
Port D level sensitive interrupts
Port D keyboard enable register
The data sheet says LRRA is 0xFFFFFA29 and 0xFFFFFA28 but its only 8bits?