Skip to content

Commit c088632

Browse files
committed
Added
1 parent adda553 commit c088632

18 files changed

+1552
-0
lines changed

ASM.ALS

680 Bytes
Binary file not shown.

BUFFERS.INC

+128
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
;
2+
; !File!
3+
; buffers.inc
4+
;
5+
; !Desc!
6+
; Epoc Services for Psion Series 3/3a
7+
;
8+
; !Authors!
9+
; Krister Wombell
10+
;
11+
; !Date!
12+
; 23:09-25/09/93
13+
;
14+
15+
; TimManager
16+
TimSleepForTenths EPOC $00,$89,cx,dx
17+
TimSleepForTicks EPOC $01,$89,cx,dx
18+
TimGetSystemTime EPOC $02,$89
19+
TimSetSystemTime EPOC $03,$89,cx,dx
20+
TimSystemTimeToDaySeconds EPOC $04,$89,cx,dx,si
21+
TimDaySecondsToSystemTime EPOC $05,$89,si
22+
TimDaySecondsToDate EPOC $06,$89,si,di
23+
TimDateToDaySeconds EPOC $07,$89,si,di
24+
TimDaysInMonth EPOC $08,$89,ch,cl
25+
TimDayOfWeek EPOC $09,$89,cx,dx
26+
TimNameOfDay EPOC $0A,$89,al,bx
27+
TimNameOfMonth EPOC $0B,$89,al,bx
28+
TimWaitAbsolute EPOC $0C,$89,cx,dx
29+
TimWeekNumber EPOC $0D,$89,cx,dx
30+
31+
; ConvManager
32+
ConvUnsignedIntToBuffer EPOC $00,$8A,bx,cx,di
33+
ConvUnsignedLongIntToBuffer EPOC $01,$8A,dx,bx,cx,di
34+
ConvIntToBuffer EPOC $02,$8A,bx,di
35+
ConvLongIntToBuffer EPOC $03,$8A,dx,bx,di
36+
ConvArgumentsToBuffer EPOC $04,$8A,bx,di,si
37+
ConvStringToUnsignedInt EPOC $05,$8A,cx,si
38+
ConvStringToUnsignedLongInt EPOC $06,$8A,cx,si
39+
ConvStringToInt EPOC $07,$8A,si
40+
ConvStringToLongInt EPOC $08,$8A,si
41+
ConvFloatToBuffer EPOC $09,$8A,si,dx,di
42+
ConvStringToFloat EPOC $0A,$8A,si,dx,di
43+
44+
LongIntCompare EPOC -1,$BB,ax,bx,cx,dx
45+
LongIntMultiply EPOC -1,$BC,ax,bx,cx,dx
46+
LongIntDivide EPOC -1,$BD,ax,bx,cx,dx
47+
LongUnsignedIntCompare EPOC -1,$BE,ax,bx,cx,dx
48+
LongUnsignedIntMultiply EPOC -1,$BF,ax,bx,cx,dx
49+
LongUnsignedIntDivide EPOC -1,$C0,ax,bx,cx,dx
50+
LongUnsignedIntRandom EPOC $04,$8B,bx
51+
52+
; FloatManager
53+
FloatAdd EPOC -1,$C1,di,si
54+
FloatSubtract EPOC -1,$C2,di,si
55+
FloatMultiply EPOC -1,$C3,di,si
56+
FloatDivide EPOC -1,$C4,di,si
57+
FloatCompare EPOC -1,$C5,di,si
58+
FloatNegate EPOC -1,$C6,di
59+
FloatToInt EPOC -1,$C7,si
60+
FloatToUnsignedInt EPOC -1,$C8,si
61+
FloatToLong EPOC -1,$C9,si
62+
FloatToUnsignedLong EPOC -1,$CA,si
63+
IntToFloat EPOC -1,$CB,ax,di
64+
UnsignedIntToFloat EPOC -1,$CC,ax,di
65+
LongToFloat EPOC -1,$CD,ax,bx,di
66+
UnsignedLongToFloat EPOC -1,$CE,di,ax,bx
67+
68+
FloatSin EPOC $00,$8C,di,si
69+
FloatCos EPOC $01,$8C,di,si
70+
FloatTan EPOC $02,$8C,di,si
71+
FloatASin EPOC $03,$8C,di,si
72+
FloatACos EPOC $04,$8C,di,si
73+
FloatATan EPOC $05,$8C,di,si
74+
FloatExp EPOC $06,$8C,di,si
75+
FloatLn EPOC $07,$8C,di,si
76+
FloatLog EPOC $08,$8C,di,si
77+
FloatSqrt EPOC $09,$8C,di,si
78+
FloatPow EPOC $0A,$8C,di,si,dx
79+
FloatRand EPOC $0B,$8C,di,si
80+
FloatMod EPOC $0C,$8C,di,si,dx
81+
FloatInt EPOC $0D,$8C,di,si
82+
83+
; Buffer/String Manager
84+
CharIsDigit EPOC -1,$93,al
85+
CharIsHexDigit EPOC -1,$94,al
86+
CharIsPrintable EPOC -1,$95,al
87+
CharIsAlphabetic EPOC -1,$96,al
88+
CharIsAlphaNumeric EPOC -1,$97,al
89+
CharIsUpperCase EPOC -1,$98,al
90+
CharIsLowerCase EPOC -1,$99,al
91+
CharIsSpace EPOC -1,$9A,al
92+
CharIsPunctuation EPOC -1,$9B,al
93+
CharIsGraphic EPOC -1,$9C,al
94+
CharIsControl EPOC -1,$9D,al
95+
CharToUpperChar EPOC -1,$9E,al,ah
96+
CharToLowerChar EPOC -1,$9F,al,ah
97+
CharToFoldedChar EPOC -1,$A0,al,ah
98+
99+
BufferCopy EPOC -1,$A1,si,di,cx
100+
BufferSwap EPOC -1,$A2,si,di,cx
101+
BufferCompare EPOC -1,$A3,si,di,cx,bx
102+
BufferCompareFolded EPOC -1,$A4,si,di,cx,bx
103+
BufferMatch EPOC -1,$A5,si,cx,di,dx
104+
BufferMatchFolded EPOC -1,$A6,si,cx,di,dx
105+
BufferLocate EPOC -1,$A7,ah,si,cx
106+
BufferLocateFolded EPOC -1,$A8,ah,si,cx
107+
BufferSubBuffer EPOC -1,$A9,si,di,cx,bx
108+
BufferSubBufferFolded EPOC -1,$AA,si,di,cx,bx
109+
BufferJustify EPOC -1,$AB,si,cx,di,bx,dl,dh
110+
111+
StringCopy EPOC -1,$AC,si,di
112+
StringCopyFolded EPOC -1,$AD,si,di
113+
StringConvertToFolded EPOC -1,$AE,si
114+
StringCompare EPOC -1,$AF,si,di
115+
StringCompareFolded EPOC -1,$B0,si,di
116+
StringMatch EPOC -1,$B1,si,di
117+
StringMatchFolded EPOC -1,$B2,si,di
118+
StringLocate EPOC -1,$B3,ah,si
119+
StringLocateFolded EPOC -1,$B4,ah,si
120+
StringLocateInReverse EPOC -1,$B5,ah,si
121+
StringLocateInReverseFolded EPOC -1,$B6,ah,si
122+
StringSubString EPOC -1,$B7,si,di
123+
StringSubStringFolded EPOC -1,$B8,si,di
124+
StringLength EPOC -1,$B9,di
125+
StringValidateName EPOC -1,$BA,al,ah
126+
StringCapitalise EPOC -1,$DB,si
127+
128+

DBF.INC

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
;
2+
; !File!
3+
; dbf.inc
4+
;
5+
; !Desc!
6+
; Epoc Services for Psion Series 3/3a
7+
;
8+
; !Authors!
9+
; Krister Wombell
10+
;
11+
; !Date!
12+
; 13:11-25/09/93
13+
;
14+
15+
; DBFManager
16+
DbfOpen EPOC $00,$D8,cl,si,di,dx,bx
17+
DbfClose EPOC $01,$D8,bx
18+
DbfFlush EPOC $02,$D8,bx
19+
DbfTrash EPOC $03,$D8,bx
20+
DbfCopyDown EPOC $04,$D8,bx,si
21+
DbfCompress EPOC $05,$D8,bx,di
22+
DbfCopyFile EPOC $06,$D8,bx,cl,ch,dx,di,si
23+
DbfFileSize EPOC $07,$D8,bx
24+
DbfExtHeaderRead EPOC $08,$D8,al,bx,cx,si
25+
DbfExtHeaderWrite EPOC $09,$D8,al,bx,cx,si
26+
DbfVersion EPOC $0A,$D8
27+
DbfAbsReadSense EPOC $0B,$D8,bx,cx
28+
DbfAbsRead EPOC $0C,$D8,bx,cx
29+
DbfNextRead EPOC $0D,$D8,bx
30+
DbfBackRead EPOC $0E,$D8,bx
31+
DbfFirstRead EPOC $0F,$D8,bx
32+
DbfLastRead EPOC $10,$D8,bx
33+
DbfAppend EPOC $11,$D8,bx,cx
34+
DbfEraseRead EPOC $12,$D8,bx,di
35+
DbfUpdate EPOC $13,$D8,bx,cx,di
36+
DbfFindRead EPOC $14,$D8,al,bx,cx,dl,dh,di,si
37+
DbfSense EPOC $15,$D8,bx
38+
DbfCount EPOC $16,$D8,bx
39+
DbfDescRecordRead EPOC $17,$D8,bx
40+
DbfDescRecordWrite EPOC $18,$D8,bx,cx
41+
42+
43+

ERR

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
PKUNZIP (R) FAST! Extract Utility Version 2.04g 02-01-93
3+
Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware Version
4+
PKUNZIP Reg. U.S. Pat. and Tm. Off.
5+
6+
� 80486 CPU detected.
7+
� EMS version 4.00 detected.
8+
� XMS version 3.00 detected.
9+
10+
Searching ZIP: S3ASM2.ZIP
11+
12+
Length Method Size Ratio Date Time CRC-32 Attr Name
13+
------ ------ ----- ----- ---- ---- -------- ---- ----
14+
41295 DeflatN 20956 50% 06-02-94 17:38 6323ace6 --w- S3ASM.OPA
15+
680 DeflatN 284 59% 02-07-06 02:44 fc402fd7 --w- ASM.ALS
16+
1014 DeflatN 402 61% 09-30-93 11:00 dbea67db --w- DBF.INC
17+
1506 DeflatN 545 64% 06-02-94 16:38 34df6b27 --w- S3OBJ.OPL
18+
1478 DeflatN 531 65% 09-30-93 11:00 2cad3d48 --w- PROC.INC
19+
880 DeflatN 380 57% 09-30-93 11:00 6372b24e --w- MEM.INC
20+
3200 DeflatN 995 69% 09-30-93 11:00 3cf9fd9c --w- IO.INC
21+
3150 DeflatN 1011 68% 09-30-93 11:00 8186a8c7 --w- GEN.INC
22+
3937 DeflatN 1099 73% 09-30-93 11:00 d638a846 --w- BUFFERS.INC
23+
3971 DeflatN 1286 68% 06-02-94 16:32 cfe75f4c --w- WIN.INC
24+
1136 DeflatN 478 58% 06-02-94 16:33 8c3d1a36 --w- WINIMG.ASM
25+
363 DeflatN 247 32% 06-02-94 16:34 8c5bd3a2 --w- WIN.OPL
26+
269 DeflatN 153 44% 06-02-94 17:59 d4fe5bc6 --w- STATE.RST
27+
776 DeflatN 480 39% 06-02-94 16:38 a4eccbac --w- S3OBJ.OPO
28+
13071 DeflatN 5166 61% 06-02-94 17:37 0cc166ad --w- S3ASM.DOC
29+
1113 DeflatN 498 56% 06-02-94 17:46 0143ab59 --w- WIN.ASM
30+
549 DeflatN 275 50% 06-02-94 17:52 81f0d9b5 --w- INSTALL.BAT
31+
938 DeflatN 357 62% 06-02-94 17:59 5ed71cc1 --w- READ.ME
32+
------ ------ --- -------
33+
79326 35143 56% 18

GEN.INC

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
;
2+
; !File!
3+
; gen.inc
4+
;
5+
; !Desc!
6+
; Epoc Services for Psion Series 3/3a
7+
;
8+
; !Authors!
9+
; Krister Wombell
10+
;
11+
; !Date!
12+
; 00:01-26/09/93
13+
;
14+
15+
; GenManager
16+
GenVersion EPOC $00,$8B
17+
GenLcdType EPOC $01,$8B
18+
GenStartReason EPOC $02,$8B
19+
GenParse EPOC $03,$8B,bx
20+
GenGetCountryData EPOC $05,$8B,bx
21+
GenGetErrorText EPOC $06,$8B,al,bx
22+
GenGetOsData EPOC $07,$8B,di,si,cx
23+
GenDeferredMode EPOC $08,$8B,al
24+
GenNotify EPOC $09,$8B,bx,cx,dx,di,si
25+
GenNotifyError EPOC $0A,$8B,al,bx,dx,di,si
26+
GenNotifyHook EPOC $0B,$8B,bx
27+
GenNotifyUnHook EPOC $0C,$8B
28+
GenGetRamSizeInParas EPOC $0D,$8B
29+
GenGetCommandLine EPOC $0E,$8B
30+
GenGetSoundFlags EPOC $0F,$8B
31+
GenSetSoundFlags EPOC $10,$8B,ax
32+
GenSound EPOC $11,$8B,bx,cx
33+
GenMarkActive EPOC $12,$8B
34+
GenMarkNonActive EPOC $13,$8B
35+
GenGetText EPOC $14,$8B,al,bx
36+
GenGetNotifyState EPOC $15,$8B
37+
GenSetNotifyState EPOC $16,$8B,al
38+
GenGetAutoSwitchOffValue EPOC $17,$8B,ax
39+
GenSetAutoSwitchOffValue EPOC $18,$8B
40+
GenSetRevector EPOC $19,$8B,al,cx,bx
41+
GenResetRevector EPOC $1A,$8B,al
42+
GenGetLanguageCode EPOC $1B,$8B
43+
GenGetSuffixes EPOC $1C,$8B,al,bx
44+
GenGetAmPmText EPOC $1D,$8B,bx
45+
GenSetCountryData EPOC $1E,$8B,bx
46+
GenGetBatteryType EPOC $1F,$8B
47+
GenSetBatteryType EPOC $20,$8B,al
48+
GenEnvBufferGet EPOC $21,$8B,di,dl,si
49+
GenEnvBufferSet EPOC $22,$8B,di,dl,si,cl
50+
GenEnvBufferDelete EPOC $23,$8B,di,dl
51+
GenEnvBufferFind EPOC $24,$8B,bx,di,dl,si
52+
GenEnvStringGet EPOC $25,$8B,di,si
53+
GenEnvStringSet EPOC $26,$8B,di,si
54+
GenEnvStringDelete EPOC $27,$8B,di
55+
GenEnvStringFind EPOC $28,$8B,bx,di,si,cx
56+
GenCrc EPOC $29,$8B,cx,dx,si
57+
GenRomVersion EPOC $2A,$8B
58+
GenAlarmHook EPOC $2B,$8B,bx
59+
GenAlarmUnHook EPOC $2C,$8B
60+
GenAlarmId EPOC $2D,$8B
61+
GenPasswordSet EPOC $2E,$8B
62+
GenPasswordTest EPOC $2F,$8B
63+
GenPasswordControl EPOC $30,$8B
64+
GenPasswordQuery EPOC $31,$8B
65+
GenTickle EPOC $32,$8B
66+
GenSetConfig EPOC $33,$8B
67+
GenMaskInit EPOC $34,$8B
68+
GenMaskEncrypt EPOC $35,$8B
69+
GenMaskDecrypt EPOC $36,$8B
70+
GenSetOnEvents EPOC $37,$8B,al
71+
GenDataSegment EPOC -1,$8F
72+
Dummy EPOC -1,$D4
73+
GenIntByNumber EPOC -1,$D5,al,si,di
74+
HwComboOn EPOC $00,$8E
75+
HwComboOff EPOC $01,$8E
76+
HwPacksOn EPOC $02,$8E
77+
HwPacksOff EPOC $03,$8E
78+
HwSetA2Control1Bits EPOC $04,$8E,al
79+
HwClearA2Control1Bits EPOC $05,$8E,al
80+
HwReadA2Control1 EPOC $06,$8E
81+
HwWriteA2Control1 EPOC $07,$8E,al
82+
HwSetA2Control2Bits EPOC $08,$8E,al
83+
HwClearA2Control2Bits EPOC $09,$8E,al
84+
HwReadA2Control2 EPOC $0A,$8E
85+
HwWriteA2Control2 EPOC $0B,$8E,al
86+
HwSetA2Control3Bits EPOC $0C,$8E,al
87+
HwClearA2Control3Bits EPOC $0D,$8E,al
88+
HwReadA2Control3 EPOC $0E,$8E
89+
HwWriteA2Control3 EPOC $0F,$8E,al
90+
HwSelectChannel EPOC $10,$8E,al
91+
HwGetSupplyStatus EPOC $11,$8E,bx
92+
HwLcdContrastDelta EPOC $12,$8E,al
93+
HwReadLcdContrast EPOC $13,$8E
94+
HwSwitchOff EPOC $14,$8E,cx
95+
HwNullFrame EPOC $15,$8E
96+
HwExit EPOC $16,$8E
97+
HwGetCombo EPOC $17,$8E
98+
HwFreeCombo EPOC $18,$8E
99+
HwGetChannel EPOC $19,$8E,al
100+
HwFreeChannel EPOC $1A,$8E,al
101+
HwGetPsuType EPOC $1B,$8E
102+
HwSupplyWarnings EPOC $1C,$8E
103+
HwForceSupplyReading EPOC $1D,$8E
104+
HwGetBackLight EPOC $1E,$8E
105+
HwSetBackLight EPOC $1F,$8E,bx
106+
HwBackLight EPOC $20,$8E,al
107+

INSTALL.BAT

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
@echo off
2+
if !%1==! goto error
3+
4+
echo This will install S3Asm on your S3a, connected as %1:
5+
echo Press CTRL-C to terminate the installation, or press
6+
echo any other key to continue.
7+
pause
8+
echo ÿ
9+
10+
:install
11+
12+
copy s3asm.opa %1:\app\
13+
copy asm.als %1:\app\
14+
15+
mkdir %1:\asm >&nil
16+
copy *.asm %1:\asm\
17+
18+
mkdir %1:\inc >&nil
19+
copy *.inc %1:\inc\
20+
21+
mkdir %1:\opl >&nil
22+
copy *.opl %1:\opl\
23+
mkdir %1:\opo >&nil
24+
copy *.opo %1:\opo\
25+
26+
goto end
27+
28+
:error
29+
echo Usage: Install drive
30+
31+
echo ÿ
32+
echo eg. install m
33+
echo install l
34+
:end

0 commit comments

Comments
 (0)