458 lines
9.9 KiB
Modula-2
458 lines
9.9 KiB
Modula-2
// TODO: Prototypes
|
|
|
|
%000: sys_init
|
|
%001: vbr_tlb_error
|
|
%002: vbr_cpu_address
|
|
%003: vbr_tlb_exception
|
|
%004: TLB_init
|
|
%005: App_RegisterAddins
|
|
%009: App_FindFreeAddinSlot
|
|
%00a: App_GetAddinHeaderAddr
|
|
%00e: App_GetAddindEstrip
|
|
%013: GlibAddinAplExecutionCheck
|
|
%014: GlibGetAddinLibInfo
|
|
%015: GlibGetOSVersionInfo
|
|
%016: System_ERROR_popup
|
|
%018: MMU_FlushCache
|
|
%01b: T6K11_Clear
|
|
%01c: Bdisp_WriteGraph_VRAM
|
|
%01d: Bdisp_WriteGraph_DD
|
|
%01e: Bdisp_WriteGraph_DDVRAM
|
|
%022: Bdisp_ReadArea_VRAM
|
|
%023: Bdisp_ReadArea_DD
|
|
%024: Bdisp_GetDisp_DD
|
|
%025: T6K11_ReadCurrentPage
|
|
%026: T6K11_ReadPage
|
|
%027: T6K11_WritePage
|
|
%028: Bdisp_PutDisp_DD
|
|
%02a: Bdisp_DrawShapeToVRAM
|
|
%02f: Bdisp_DrawShapeToVRAM
|
|
%030: Bdisp_DrawLineVRAM
|
|
%031: Bdisp_ClearLineVRAM
|
|
%032: Bdisp_DrawShapeToDD
|
|
%033: Bdisp_DrawShapeToVRAM_DD
|
|
%034: Bdisp_DrawShapeToDD
|
|
%035: Bdisp_DrawShapeToVRAM_DD
|
|
%039: RTC_Reset
|
|
%03a: RTC_GetTime
|
|
%03b: RTC_GetTicks
|
|
%03c: RTC_Elapsed_ms
|
|
%05c: Num_UIntToBCD
|
|
%05d: Num_BCDToUInt
|
|
|
|
%118: Timer_Install
|
|
%119: Timer_Deinstall
|
|
%11a: Timer_Start
|
|
%11b: Timer_Stop
|
|
%11f: Bdisp_PutDispArea_DD
|
|
%12d: DD_Poweroff
|
|
%130: Wait_ms
|
|
%132: DD_SetContrast
|
|
%133: DD_SetFRS
|
|
%134: DD_SetBias
|
|
%135: GetVRAMAddress
|
|
%136: GetCharacterGlyph
|
|
%137: GetCharacterMiniGlyph
|
|
%138: Cursor_SetPosition
|
|
%139: Cursor_SetFlashStyle
|
|
%13a: Cursor_SetFlashMode
|
|
%13b: Cursor_GetSettings
|
|
%13c: Print_OS
|
|
%142: Bdisp_AllClr_DD
|
|
%143: Bdisp_AllClr_VRAM
|
|
%144: Bdisp_AllClr_DDVRAM
|
|
%145: Bdisp_GetDisp_VRAM
|
|
%146: Bdisp_SetPoint_VRAM
|
|
%147: Bdisp_SetPoint_DD
|
|
%148: Bdisp_SetPoint_DDVRAM
|
|
%149: Bdisp_GetPoint_VRAM
|
|
%14a: Bdisp_AreaClr_DD
|
|
%14b: Bdisp_AreaClr_VRAM
|
|
%14c: Bdisp_AreaClr_DDVRAM
|
|
%14d: Bdisp_AreaReverseVRAM
|
|
%150: PrintXY
|
|
%153: Disp_Save
|
|
%154: Disp_Restore
|
|
%155: Disp_GetPtr
|
|
%156: PopUpWin
|
|
%158: Disp_Manage
|
|
%159: System_UpdateOS
|
|
%15d: PrintCR
|
|
%15f: atoi
|
|
%160: LongToAsc
|
|
%161: LongToAscHex
|
|
%162: pc_toupper
|
|
%163: pc_tolower
|
|
%172: strcmp
|
|
%173: strcmp
|
|
%175: some_datatable
|
|
%176: DiagnosticMode
|
|
%18a: InvertMem
|
|
%19f: SMEM_Optimization
|
|
%1a9: GUI_ProgressBar
|
|
%1b7: Get8x8BitmapPointer_1
|
|
%1b8: Get8x8BitmapPointer_2
|
|
%1b9: Get8x8BitmapPointer_3
|
|
%1ba: Get8x8BitmapPointer_4
|
|
%1bb: Get8x8BitmapPointer_5
|
|
%1bc: Get8x8BitmapPointer_6
|
|
%1bd: Get8x8BitmapPointer_7
|
|
|
|
%20e: StorageMemory_GetFilePos
|
|
%236: RebootOS
|
|
%23d: RTC_TriggerAlarm
|
|
%23e: RTC_SetDateTime
|
|
%241: Keyboard_ClrBuffer
|
|
%242: Bkey_Set_RepeatTime
|
|
%243: Bkey_Get_RepeatTime
|
|
%244: Bkey_Set_RepeatTime_Default
|
|
%245: Keyboard_EnableAutoRepeat
|
|
%246: Keyboard_DisableAutoRepeat
|
|
%247: Keyboard_GetKeyWait
|
|
%248: Keyboard_PutKeycode
|
|
%249: Keyboard_GetKeyDownTime
|
|
%24a: Keyboard_IsAnyKeyDown
|
|
%24b: Keyboard_IsSpecialKeyDown
|
|
%24c: Keyboard_IsSpecialKeyDown
|
|
%24d: Keyboard_KeyDown
|
|
%24e: Keyboard_SecondaryInterruptHandler
|
|
%24f: Keyboard_PutKeymatrixCode
|
|
%251: Keyboard_TimerHandler
|
|
%25e: Keyboard_PrimaryInterruptHandler
|
|
%268: GetFKeyIconPointer
|
|
%284: BCD_GetNaN
|
|
%285: Serial_Open_57600
|
|
%286: BCD_AnsToSerial
|
|
%28d: Comm_Open
|
|
%28e: Comm_Close
|
|
%28f: Comm_WaitForAnyBuffer
|
|
%290: Comm_ReadOneByte
|
|
%291: Comm_TransmitOneByte
|
|
%292: Comm_WaitForAndReadNBytes
|
|
%293: Comm_TransmitNBytes
|
|
%294: Comm_ClearReceiveBuffer
|
|
%295: Comm_ClearTransmitBuffer
|
|
%296: Comm_IsValidPacketAvailable
|
|
%298: Comm_IsOpen
|
|
%299: Comm_GetCurrentSelector
|
|
%2a1: HexToByte
|
|
%2a2: HexToWord
|
|
%2a3: ByteToHex
|
|
%2a4: WordToHex
|
|
%2a5: Comm_Padding_5C
|
|
%2a6: Comm_ReversePadding_5C
|
|
%2a7: AscHexToNibble
|
|
%2a8: NibbleToAscHex
|
|
%2a9: strlen
|
|
%2aa: slow_memcpy
|
|
%2ab: Serial_Open2
|
|
%2af: Comm_Spy0thByte
|
|
%2db: Comm_ProcessInPacket
|
|
%2e1: Comm_PrepareAckPacket
|
|
%2e2: Comm_PrepareErrorPacket
|
|
%2e3: Comm_PrepareTerminatePacket
|
|
%2e4: Comm_PrepareRoleswapPacket
|
|
%2e5: Comm_PrepareCheckPacket
|
|
%2e6: Comm_PrepareCommandPacket
|
|
%2e7: Comm_PrepareDataPacket
|
|
%2ee: System_GetOSVersion
|
|
|
|
%35e: memset_range
|
|
%35f: memset
|
|
%363: MCS_CreateDirectory
|
|
%364: MCS_WriteItem
|
|
%366: MCS_DeleteDirectory
|
|
%367: MCS_DeleteItem
|
|
%368: MCS_GetState
|
|
%369: MCS_GetSystemDirectoryInfo
|
|
%370: MCS_RenameItem
|
|
%371: MCS_OverwriteData
|
|
%372: MCS_GetItemData
|
|
%373: MCS_RenameDirectory
|
|
%374: BMCSRenameVariable
|
|
%375: MCS_SearchDirectory
|
|
%376: MCS_SearchDirectoryItem
|
|
%37c: MCS_GetFirstDataPointerByDirno
|
|
%37d: MCS_GetDirectoryEntryByNumber
|
|
%37e: MCS_SearchItem
|
|
%37f: MCS_str8cpy
|
|
%380: MCS_GetDirectoryEntryAddress
|
|
%381: MCS_GetCurrentBottomAddress
|
|
%383: MCS_GetCapa
|
|
%392: MCS_GetMainMemoryStart
|
|
%3dc: Setup_GetInfo
|
|
%3ea: SYSCALL_3ea_DATATABLE
|
|
%3ed: Interrupt_SetOrClrStatusFlags
|
|
%3ee: Interrupt_QueryStatusFlags
|
|
%3f4: PowerOff
|
|
%3f5: ClearMainMemory
|
|
%3f6: SH7337_TMU_Stop
|
|
%3f7: SH7337_TMU_int_handler
|
|
%3fa: Hmem_SetMMU
|
|
%3fb: MMU_ConfigureAndFlush
|
|
%3fc: TLB_SetAddressValue
|
|
%3fe: GetStackPtr
|
|
%3ff: MMU_FlushCache
|
|
|
|
%400: MMU_ConfigureAndEnable
|
|
%404: GetPhysicalROMstart
|
|
%405: GetPhysicalRAMstart
|
|
%409: Serial_ResetAndDisable
|
|
%40a: Serial_GetInterruptHandler
|
|
%40b: Serial_SetInterruptHandler
|
|
%40c: Serial_ReadOneByte
|
|
%40d: Serial_ReadNBytes
|
|
%40e: Serial_BufferedTransmitOneByte
|
|
%40f: Serial_BufferedTransmitNBytes
|
|
%410: Serial_DirectTransmitOneByte
|
|
%411: Serial_GetReceivedBytesAvailable
|
|
%412: Serial_GetFreeTransmitSpace
|
|
%413: Serial_ClearReceiveBuffer
|
|
%414: Serial_ClearTransmitBuffer
|
|
%418: Serial_Open
|
|
%419: Serial_Close
|
|
%41b: Serial_CallReceiveIntErrorResetHandler
|
|
%41c: Serial_CallReceiveIntHandler
|
|
%41d: Serial_CallTransmitIntErrorResetHandler
|
|
%41e: Serial_CallTransmitIntHandler
|
|
%420: OS_inner_Sleep
|
|
%422: Serial_SpyNthByte
|
|
%423: Serial_GetStatus
|
|
%425: Serial_IsOpen
|
|
%429: Bfile_identify_device_OS
|
|
%42c: Bfile_OpenFile_OS
|
|
%42d: Bfile_CloseFile_OS
|
|
%42e: Bfile_GetMediaFree_OS
|
|
%42f: Bfile_GetFileSize_OS
|
|
%431: Bfile_SeekFile_OS
|
|
%432: Bfile_ReadFile_OS
|
|
%434: Bfile_CreateEntry_OS
|
|
%435: Bfile_WriteFile_OS
|
|
%438: Bfile_RenameEntry
|
|
%439: Bfile_DeleteEntry
|
|
%43b: Bfile_FindFirst
|
|
%43c: Bfile_FindNext
|
|
%43d: Bfile_FindClose
|
|
%44e: memcpy
|
|
%44f: memcmp
|
|
%450: Bfile_GetFilenameLength
|
|
%451: Bfile_Name_cmp
|
|
%452: Bfile_Name_cpy
|
|
%453: Bfile_Name_ncpy
|
|
%456: Bfile_NameToStr_ncpy
|
|
%457: Bfile_StrToName_ncpy
|
|
%462: GetAppName
|
|
%463: SetAppName
|
|
%464: CmpAppName
|
|
%465: GetIntPtrContent
|
|
%467: LongToAscHex
|
|
%468: hasSDOption
|
|
%469: Battery_DisplayLowStatus
|
|
%46b: App_BuiltInCount
|
|
%476: Battery_IsLow
|
|
%477: EnableGetkeyToMainFunctionReturn
|
|
%478: DisableGetkeyToMainFunctionReturn
|
|
%47f: SetAutoPowerOffTime
|
|
%480: GetAutoPowerOffTime
|
|
%486: GetdatatablePtr
|
|
%48d: SetAutoPowerOffFlag
|
|
%48e: GetAutoPowerOffFlag
|
|
%492: Battery_IsLow
|
|
%494: CallbackAtQuitMainFunction
|
|
%495: Battery_DisplayLowStatus
|
|
%499: Heap_SetTopChunk
|
|
%49a: App_Start
|
|
%49c: Battery_GetStatus
|
|
%49e: RebootOS
|
|
%4a0: AUX_DisplayErrorMessage
|
|
%4ad: USB_InterruptHandler
|
|
%4ae: USB_TimerHandler
|
|
%4b0: AUX_DisplayFKeyIcons
|
|
%4cb: Keyboard_RemapFKeyCode
|
|
%4d1: AUX_DisplayFKeyIcon
|
|
%4dc: Setup_GetEntry
|
|
%4dd: Setup_SetEntry
|
|
%4de: Setup_GetEntryPtr
|
|
%4df: Alpha_GetData
|
|
%4e0: Alpha_SetData
|
|
%4e1: Alpha_ClearAll
|
|
%4e6: HourGlass
|
|
%4e9: LocalizeStringID
|
|
%4f5: BCD_ToStrAsNumber1
|
|
%4f6: BCD_ToStrAsNumber2
|
|
|
|
%500: BCDToInternal
|
|
%518: Setup_GetEntry_3E
|
|
%519: Setup_GetEntry_40
|
|
%51a: Setup_SetEntry_3E
|
|
%51b: Setup_SetEntry_40
|
|
%531: MB_IsLead
|
|
%533: MB_ElementCount
|
|
%534: MB_ByteCount
|
|
%536: MB_strcat
|
|
%537: MB_strncat
|
|
%538: MB_strcpy
|
|
%53c: MB_GetSecondElemPtr
|
|
%53d: MB_GetElement
|
|
%53e: MB_CopyToHeap
|
|
%53f: memcmp
|
|
%541: itoa
|
|
%542: to_uppercase
|
|
%543: to_lowercase
|
|
%544: BCD_0
|
|
%545: BCD_1
|
|
%546: BCD_2
|
|
%547: BCD_10
|
|
%548: BCD_1_over_3
|
|
%549: BCD_0.5
|
|
%54a: BCD_32767
|
|
%54b: BCD_m32768
|
|
%54c: BCD_65536
|
|
%54d: BCD_0x7fffffff
|
|
%54e: BCD_m2Gi
|
|
%54f: BCD_4Gi
|
|
%550: BCD_pi
|
|
%551: BCD_2pi
|
|
%552: BCD_pi_over_2
|
|
%553: BCD_e
|
|
%554: BCD_5
|
|
%5a6: BCD_SetAsInt
|
|
%5af: BCD_pi_over_4
|
|
%5b0: BCD_ln10
|
|
%5b1: BCD_ln2
|
|
%5b2: BCD_9.99e99
|
|
%5b3: BCD_m9.99e99
|
|
%5b4: BCD_9.99999999999999e99
|
|
%5b5: BCD_227.85
|
|
%5b6: BCD_sqrt2
|
|
%5b7: BCD_sqrt2_over_2
|
|
%5b8: BCD_506.6282746310
|
|
|
|
%645: CalculateExpression
|
|
%64a: CalculateExpression0
|
|
%652: PRGM_NextOpcode
|
|
%6a6: PRGM_IsEndOfLine
|
|
%6c4: Keyboard_PRGM_GetKey
|
|
%6d4: Alpha_GetData2
|
|
|
|
%713: Print_ClearLine
|
|
%763: Bdisp_DrawRectangle
|
|
%7fc: OpcodeToStr
|
|
|
|
%804: CLIP_Store
|
|
%807: locate
|
|
%808: Print
|
|
%809: PrintRev
|
|
%80a: PrintC
|
|
%80b: PrintRevC
|
|
%80c: PrintLine
|
|
%80d: PrintRLine
|
|
%80e: Cursor_GetFlashStyle
|
|
%80f: Cursor_GetSettings
|
|
%811: Cursor_SetFlashOn
|
|
%812: Cursor_SetFlashOff
|
|
%813: SaveDisp
|
|
%814: RestoreDisp
|
|
%829: MCS_CreateDirectory
|
|
%82a: MCS_PutInternalItem
|
|
%82b: MCSPutVar2
|
|
%830: MCSOvwDat2
|
|
%832: MCS_OverwriteOpenItem
|
|
%833: MCS_ClearInternalDirectory
|
|
%834: MCS_ClearDirectory
|
|
%835: MCS_DeleteInternalItem
|
|
%836: MCSDelVar2
|
|
%83a: MCS_GotoInternalItem
|
|
%83b: MCS_OpenMainMemoryItem
|
|
%83c: MCS_GotoHandleNeighbour
|
|
%83d: MCS_CheckOpenedItem
|
|
%83e: MCS_GetOpenItem
|
|
%83f: MCS_OpenInternalDirectoryItem
|
|
%840: MCSGetDlen2
|
|
%841: MCSGetData1
|
|
%843: MCS_MapMCS_Result
|
|
%844: MCSGetCapa
|
|
%84d: MCS_OpenAlphaMemItem
|
|
%852: MCS_DirtypeToItemtype
|
|
%853: MCS_ItemtypeToDirtype
|
|
%863: MCS_DirtypeToName
|
|
%866: MCS_MapError
|
|
%869: Alpha_ClearAllAndAns
|
|
%86f: MCS_DeleteDirectoryItems
|
|
%8db: EditExpression
|
|
%8dc: EditValue
|
|
%8e6: EditMBStringCtrl
|
|
%8ea: DisplayMBString
|
|
%8ec: EditMBStringChar
|
|
%8f7: DisplayMBString2
|
|
%8fe: PopupWin
|
|
|
|
%901: DisplayMessageBox
|
|
%905: DisplayErrorMessage
|
|
%90b: SetShiftAlphaState
|
|
%90c: GetInsOverwriteState
|
|
%90d: SetInsOverwriteState
|
|
%90e: ClrShiftAlphaState
|
|
%90f: GetKey
|
|
%910: PutKey
|
|
%91b: GetShiftAlphaState
|
|
%924: TestMode
|
|
%954: DisplayErrorMessage
|
|
%985: App_CONICS
|
|
%998: App_DYNA
|
|
%9ad: PrintXY
|
|
%9df: App_EACT
|
|
%9e1: App_Equation
|
|
%9e2: App_EQUA
|
|
%9f5: App_Program
|
|
|
|
%a00: App_FINANCE
|
|
%a1f: Keyboard_RemapFKeyCode
|
|
%a35: AUX_DisplayMessage
|
|
%a48: App_GRAPH_TABLE
|
|
%a4a: App_LINK
|
|
%a6a: App_Optimization
|
|
%a6b: App_Memory
|
|
%a75: App_RECUR
|
|
%a97: App_RUN_MAT_EXE
|
|
%aae: App_RUN_MAT
|
|
%ac6: App_STAT
|
|
%ac8: App_SYSTEM
|
|
%ac9: longjmp
|
|
%aca: setjmp
|
|
%acc: free
|
|
%acd: malloc
|
|
%ace: memcmp
|
|
%acf: smart_memcpy
|
|
%ad0: memset
|
|
%ad4: strcat
|
|
%ad5: smart_strcmp
|
|
%ad6: strlen
|
|
%ad7: strncat
|
|
%ad8: strncmp
|
|
%ad9: strncpy
|
|
%ada: strrchr
|
|
%ae8: CatalogDialog
|
|
|
|
%c4f: PrintMiniSd
|
|
%ca7: OpcodeType
|
|
%cb0: Basic_Send_Send38k
|
|
%cb1: Basic_Receive_Receive38k
|
|
%cb2: Basic_OpenComPort38k_CloseComPort38k
|
|
%cc4: InputNumber
|
|
%cc5: InputString
|
|
%ccb: GetRAMSize
|
|
%cd0: another_diagnostic_dialog
|
|
|
|
%d64: InputDateDialog
|
|
%d65: InputMonthDialog
|
|
%d66: InputDayDialog
|
|
%d67: InputYearDialog
|
|
%dab: StoreExpressionToGraphFuncMemory
|
|
|
|
%e6b: calloc
|
|
%e6c: memmove
|
|
%e6d: realloc
|
|
%e6e: strchr
|
|
%e6f: strstr
|