RE: 50g sd card funciton
(10-02-2018 05:13 AM)cyrille de brébisson Wrote: Hello,
I tried to have a look in the emulator, but the data is spread out in a lot of places :-(
I however found this of interest...
And emu48 might be better commented and organized. But at least this should give you a head start to dig deeper.
const NativeCodeFunctionPointer NativeCodeFunctions[MAX_NATIVE_CODES] =
{
// 0x00
native_loop, // 80B 00
native_flagprep, // 80B 10
native_testflag, // 80B 20
native_false, // 80B 30
native_dofalse, // 80B 40
native_makebeep, // 80B 50
native_movedown, // 80B 60
native_moveup, // 80B 70
native_createtemp, // 80B 80
native_RCKBp, // 80B 90
native_keydn, // 80B A0
native_goslow, // 80B B0
DN,DN,DN,DN,
// 0x10
native_poweroff, // 80B 01
native_gettime, // 80B 11
native_settime, // 80B 21
native_reset, // 80B 31
native_selftest, // 80B 41
native_isnative, // 80B 51
DN, // 80B 61
native_getserial, // 80B 71
DN, // 80B 81
DN,DN,DN,DN,DN,DN,DN,
// 0x20
DN,DN,DN,DN,DN,DN,DN,DN,
native_hst1, // 80B 82
native_Hscreensize, // 80B 92
native_Wscreensize, // 80B A2
native_IsMidApple, // 80B B2
native_IsBigApple, // 80B C2
native_SetKeyboardBufferService, // 80B D2
native_IsAppleV2, // 80B E2
native_SetKeyTime, // 80B F2
// 0x30
native_config_disp0, // 80B 03
native_unconfig_disp0, // 80B 13
native_refresh_disp0, // 80B 23
native_set_lines_disp0, // 80B 33
native_set_offset_disp0, // 80B 43
native_get_lines_disp0, // 80B 53
DN,DN,
native_testhst1, // 80B 83x
DN,DN,DN,DN,DN,DN,DN,
// 0x40
native_BBReconfModules, // 80B 04
native_FREraseBank, // 80B 14
native_FRWriteBytes, // 80B 24
native_FRFormatBank, // 80B 34
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0x50
native_remoteon, // 80B 05
native_remoteoff,// 80B 15
DN, // 80B 25
DN, // 80B 35
DN, // 80B 45
DN, // 80B 55
native_outbyt, // 80B 65
DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0x60
native_access_sd, // 80B 06
native_valid_port_tag, // 80B 16
native_RclAssembly, // 80B 26
native_ScanEveryObject, // 80B 36
native_CheckSD, // 80B 46
native_CheckSDProtect, // 80B 56
native_FormatSD, // 80B 66
DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0x70
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
native_setfield,
// 0x80
native_mov, // 80B 08
native_add, // 80B 18
native_sub, // 80B 28
native_mult, // 80B 38
native_div, // 80B 48
native_mod, // 80B 58
native_not, // 80B 68
native_neg, // 80B 78
native_left, // 80B 88
native_right,// 80B 98
native_xor, // 80B A8
DN,DN,DN,DN,DN,
// 0x90
native_SaltireCode,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0xA0
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0xB0
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0xC0
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0xD0
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
// 0xE0
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
native_cacheflush, // 80B EE
native_armcallsys, // 80B FE
// 0xF0
DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,DN,
native_armcall // 80B FF
};
Thank you for giving me a head. When I read the head my head became biger. I don't know how to dig deeper, just want to sleep deeper.
|