home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
v
/
vista
/
s
/
tasm
Wrap
Text File
|
1996-01-17
|
22KB
|
778 lines
; **************************************************************************
; Copyright 1995 David Allison
;
; VV VV IIIIII SSSSS TTTTTT AA
; VV VV II SS TT AA AA
; VV VV II SSSS TT AA AA
; VV VV II SS TT AAAAAAAA
; VV IIIIII SSSS TT AA AA
;
; C++ WIMP CLASS LIBRARY
; for RISC OS
; **************************************************************************
;
; E A S Y C + + U S E R L I C E N C E
; ----------------------------------------
;
; This library is copyright. It is supplied as part of Easy C++ as
; source. The library may NOT be copied nor placed in any publically
; accessible place (eg a Bulletin Board). You may not sell the
; library for profit, but you may sell products which use it providing
; those products are presented as executable code and are not
; libraries themselves. The library is supplied without any
; warranty and the copyright owner cannot be held responsible for
; damage resulting from failure of any part of this library.
;
; *************************************************************************
;
; assembly language for thread package
;
AREA |Threads$code|, CODE, READONLY
XEasyDebug_RegisterThreads EQU 0x8304a + 0x20000
XEasyDebug_YieldThread EQU 0x8304b + 0x20000
R0 RN 0
R1 RN 1
R2 RN 2
R3 RN 3
R4 RN 4
R5 RN 5
R6 RN 6
R7 RN 7
R8 RN 8
R9 RN 9
R10 RN 10
R11 RN 11
R12 RN 12
R13 RN 13
R14 RN 14
R15 RN 15
PC RN 15
link RN 14
SP RN 13
vp RN 12 ; variable pointer
F0 FN 0
F1 FN 1
F2 FN 2
F3 FN 3
F4 FN 4
F5 FN 5
F6 FN 6
F7 FN 7
; SWI numbers
OS_WriteC EQU 0
OS_WriteS EQU 1
OS_WriteO EQU 2
OS_Newline EQU 3
OS_ReadC EQU 4
OS_CLI EQU 5
OS_Byte EQU 6
OS_Word EQU 7
OS_File EQU 8
OS_Args EQU 9
OS_Bget EQU 10
OS_Bput EQU 11
OS_Gbpb EQU 12
OS_Find EQU 13
OS_ReadLine EQU 14
OS_Control EQU 15
OS_GetEnv EQU 16
OS_Exit EQU 17
OS_SetEnv EQU 18
OS_IntOn EQU 19
OS_IntOff EQU 20
OS_CallBack EQU 21
OS_EnterOS EQU 22
OS_BreakPt EQU 23
OS_BreakCntrl EQU 24
OS_UnusedSWI EQU 25
OS_UpdateMEMC EQU 26
OS_SetCallBack EQU 27
OS_Mouse EQU 28
OS_Heap EQU 29
OS_Module EQU 30
OS_Claim EQU 31
OS_Release EQU 32
OS_ReadUnsigned EQU 33
OS_GenerateEvent EQU 34
OS_ReadVarVal EQU 35
OS_SetVarVal EQU 36
OS_GSInit EQU 37
OS_GSRead EQU 38
OS_GSTrans EQU 39
OS_BinaryToDecimal EQU 40
OS_FSControl EQU 41
OS_ChangeDynamicArea EQU 42
OS_GenerateError EQU 43
OS_ReadEscapeState EQU 44
OS_EvaluateExpression EQU 45
OS_SpriteOp EQU 46
OS_ReadPalette EQU 47
OS_ServiceCall EQU 48
OS_ReadVduVariables EQU 49
OS_ReadPoint EQU 50
OS_UpCall EQU 51
OS_CallAVector EQU 52
OS_ReadModeVariable EQU 53
OS_RemoveCursors EQU 54
OS_RestoreCursors EQU 55
OS_SWINumberToString EQU 56
OS_SWINumberFromString EQU 57
OS_ValidateAddress EQU 58
OS_CallAfter EQU 59
OS_CallEvery EQU 60
OS_RemoveTickerEvent EQU 61
OS_InstallKeyHandler EQU 62
OS_CheckModeValid EQU 63
OS_ChangeEnvironment EQU 64
OS_ClaimScreenMemory EQU 65
OS_ReadMonotonicTime EQU 66
OS_PrettyPrint EQU &44
OS_Plot EQU &45
OS_WriteN EQU &46
OS_HeapSort EQU &4F
OS_CRC EQU &5B
OS_ConvertStandardDateAndTime EQU 192
OS_ConvertDateAndTime EQU 193
OS_ConvertHex1 EQU 208
OS_ConvertHex2 EQU 209
OS_ConvertHex4 EQU 210
OS_ConvertHex6 EQU 211
OS_ConvertHex8 EQU 212
OS_ConvertCardinal1 EQU 213
OS_ConvertCardinal2 EQU 214
OS_ConvertCardinal3 EQU 215
OS_ConvertCardinal4 EQU 216
OS_ConvertInteger1 EQU 217
OS_ConvertInteger2 EQU 218
OS_ConvertInteger3 EQU 219
OS_ConvertInteger4 EQU 220
OS_ConvertBinary1 EQU 221
OS_ConvertBinary2 EQU 222
OS_ConvertBinary3 EQU 223
OS_ConvertBinary4 EQU 224
OS_ConvertSpacedCardinal1 EQU 225
OS_ConvertSpacedCardinal2 EQU 226
OS_ConvertSpacedCardinal3 EQU 227
OS_ConvertSpacedCardinal4 EQU 228
OS_ConvertSpacedInteger1 EQU 229
OS_ConvertSpacedInteger2 EQU 230
OS_ConvertSpacedInteger3 EQU 231
OS_ConvertSpacedInteger4 EQU 232
OS_ConvertFixedNetStation EQU 233
OS_ConvertNetStation EQU 234
OS_WriteI EQU 256
XOS_WriteC EQU 2_100000000000000000+0
XOS_WriteS EQU 2_100000000000000000+1
XOS_WriteO EQU 2_100000000000000000+2
XOS_Newline EQU 2_100000000000000000+3
XOS_ReadC EQU 2_100000000000000000+4
XOS_CLI EQU 2_100000000000000000+5
XOS_Byte EQU 2_100000000000000000+6
XOS_Word EQU 2_100000000000000000+7
XOS_File EQU 2_100000000000000000+8
XOS_Args EQU 2_100000000000000000+9
XOS_Bget EQU 2_100000000000000000+10
XOS_Bput EQU 2_100000000000000000+11
XOS_Gbpb EQU 2_100000000000000000+12
XOS_Find EQU 2_100000000000000000+13
XOS_ReadLine EQU 2_100000000000000000+14
XOS_Control EQU 2_100000000000000000+15
XOS_GetEnv EQU 2_100000000000000000+16
XOS_Exit EQU 2_100000000000000000+17
XOS_SetEnv EQU 2_100000000000000000+18
XOS_IntOn EQU 2_100000000000000000+19
XOS_IntOff EQU 2_100000000000000000+20
XOS_CallBack EQU 2_100000000000000000+21
XOS_EnterOS EQU 2_100000000000000000+22
XOS_BreakPt EQU 2_100000000000000000+23
XOS_BreakCntrl EQU 2_100000000000000000+24
XOS_UnusedSWI EQU 2_100000000000000000+25
XOS_UpdateMEMC EQU 2_100000000000000000+26
XOS_SetCallBack EQU 2_100000000000000000+27
XOS_Mouse EQU 2_100000000000000000+28
XOS_Heap EQU 2_100000000000000000+29
XOS_Module EQU 2_100000000000000000+30
XOS_Claim EQU 2_100000000000000000+31
XOS_Release EQU 2_100000000000000000+32
XOS_ReadUnsigned EQU 2_100000000000000000+33
XOS_GenerateEvent EQU 2_100000000000000000+34
XOS_ReadVarVal EQU 2_100000000000000000+35
XOS_SetVarVal EQU 2_100000000000000000+36
XOS_GSInit EQU 2_100000000000000000+37
XOS_GSRead EQU 2_100000000000000000+38
XOS_GSTrans EQU 2_100000000000000000+39
XOS_BinaryToDecimal EQU 2_100000000000000000+40
XOS_FSControl EQU 2_100000000000000000+41
XOS_ChangeDynamicArea EQU 2_100000000000000000+42
XOS_GenerateError EQU 2_100000000000000000+43
XOS_ReadEscapeState EQU 2_100000000000000000+44
XOS_EvaluateExpression EQU 2_100000000000000000+45
XOS_SpriteOp EQU 2_100000000000000000+46
XOS_ReadPalette EQU 2_100000000000000000+47
XOS_ServiceCall EQU 2_100000000000000000+48
XOS_ReadVduVariables EQU 2_100000000000000000+49
XOS_ReadPoint EQU 2_100000000000000000+50
XOS_UpCall EQU 2_100000000000000000+51
XOS_CallAVector EQU 2_100000000000000000+52
XOS_ReadModeVariable EQU 2_100000000000000000+53
XOS_RemoveCursors EQU 2_100000000000000000+54
XOS_RestoreCursors EQU 2_100000000000000000+55
XOS_SWINumberToString EQU 2_100000000000000000+56
XOS_SWINumberFromString EQU 2_100000000000000000+57
XOS_ValidateAddress EQU 2_100000000000000000+58
XOS_CallAfter EQU 2_100000000000000000+59
XOS_CallEvery EQU 2_100000000000000000+60
XOS_RemoveTickerEvent EQU 2_100000000000000000+61
XOS_InstallKeyHandler EQU 2_100000000000000000+62
XOS_CheckModeValid EQU 2_100000000000000000+63
XOS_ChangeEnvironment EQU 2_100000000000000000+64
XOS_ClaimScreenMemory EQU 2_100000000000000000+65
XOS_ReadMonotonicTime EQU 2_100000000000000000+66
XOS_PrettyPr