| 1 | #include "stubs_asm.h" |
|---|
| 2 | |
|---|
| 3 | //NHSTUB(AllocateUncacheableMemory, 0xFF827FCC) |
|---|
| 4 | NHSTUB(GetDrive_ClusterSize, 0xFF85AE98) |
|---|
| 5 | NHSTUB(GetDrive_TotalClusters, 0xFF85AECC) |
|---|
| 6 | NHSTUB(GetDrive_FreeClusters, 0xFF85AF00) |
|---|
| 7 | //NHSTUB(SetPropertyCase, 0xFF8795D0) |
|---|
| 8 | //NHSTUB(kbd_read_keys, 0xFF821B14) |
|---|
| 9 | NHSTUB(platformsub_kbd_fetch_data, 0xFF84B660) |
|---|
| 10 | NHSTUB(kbd_read_keys_r2, 0xFF84AF6C) |
|---|
| 11 | NHSTUB(qsort, 0xFFAB815C) |
|---|
| 12 | NHSTUB(strchr, 0xFF89B924) |
|---|
| 13 | NHSTUB(strrchr, 0xFF9DF438) |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | NHSTUB(TurnOffBackLight, 0xFF88F28C) |
|---|
| 17 | //NHSTUB(vsprintf, 0xFF81CAE8) |
|---|
| 18 | NHSTUB(VbattGet, 0xFF82046C) |
|---|
| 19 | NHSTUB(GetZoomLensCurrentPoint, 0xFF941130) |
|---|
| 20 | NHSTUB(GetZoomLensCurrentPosition, 0xFFA5B24C) |
|---|
| 21 | NHSTUB(RefreshPhysicalScreen, 0xFF9DF040) |
|---|
| 22 | NHSTUB(EnterToCompensationEVF, 0xFF825B10) |
|---|
| 23 | NHSTUB(ExitFromCompensationEVF, 0xFF825B54) |
|---|
| 24 | NHSTUB(DoAFLock, 0xFF825864) |
|---|
| 25 | NHSTUB(UnlockAF, 0xFF82589C) |
|---|
| 26 | NHSTUB(LEDDrive, 0xFF84AB48) |
|---|
| 27 | NHSTUB(WriteSDCard, 0xFF92A9A4) |
|---|
| 28 | NHSTUB(PostLogicalEventForNotPowerType, 0xFF87EC9C) |
|---|
| 29 | NHSTUB(apex2us, 0xFF9E0128) |
|---|
| 30 | NHSTUB(Restart, 0xFF829848) |
|---|
| 31 | NHSTUB(PB2Rec, 0xFF883FD8) |
|---|
| 32 | NHSTUB(Rec2PB, 0xFF882960) |
|---|
| 33 | |
|---|
| 34 | // null sub - point these at nullsub_1 as labelled in IDA |
|---|
| 35 | |
|---|
| 36 | NHSTUB(kbd_pwr_off, 0xFF81093C) |
|---|
| 37 | NHSTUB(kbd_pwr_on, 0xFF81093C) |
|---|
| 38 | NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C) |
|---|
| 39 | NHSTUB(SetScriptMode, 0xFF880C80) // string |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | // Added by finsig_dryos V2 to match old values found by finsig. |
|---|
| 44 | // Values should be checked in firmware, if the new address in stubs_entry.S |
|---|
| 45 | // is correct then delete the correspoding entry below. |
|---|
| 46 | NHSTUB(rename ,0xff823b38) // New address = 0xff8232bc |
|---|
| 47 | NHSTUB(write ,0xff819aac) // New address = 0xff823b10 |
|---|