added funcs with wide returns

This commit is contained in:
Sean 2023-07-02 02:16:47 -07:00
parent 0ab297415e
commit 2c27862180
10 changed files with 15553 additions and 15487 deletions

BIN
iigs.dat

Binary file not shown.

View File

@ -92,7 +92,7 @@ AbsOff() {
AbsOn() {
$09, $0f
}
AsynchADBReceive(compPtr: Ptr) {
AsyncADBReceive(compPtr: Ptr) {
$09, $0d
}
ClearSRQTable() {

View File

@ -128,8 +128,12 @@ Long2Fix(longValue: int32): Fixed {
Long2Hex(longValue: int32, strPtr: Ptr, strLength: int16) {
$0b, $23
}
LongDivide(dividend: int32, divisor: int32): ^LongDivRec;
LongMul(multiplicand: int32, multiplier: int32): ^LongMulRec;
LongDivide(dividend: int32, divisor: int32): ^LongDivRec {
$0b, $0d
}
LongMul(multiplicand: int32, multiplier: int32): ^LongMulRec {
$0b, $0c
}
LoWord(longValue: int32): int16 {
$0b, $19
}

View File

@ -68,7 +68,9 @@ GetUserID2(pathNamePtr: Ptr): int16 {
$11, $21
}
InitialLoad(userID: int16, loadFileNamePtr: Ptr,
spMemFlag: bool): ^InitialLoadOutputRec;
spMemFlag: bool): ^InitialLoadOutputRec {
$11, $09
}
InitialLoad2(userID: int16, loadFileNamePtr: Ptr, spMemFlag: bool,
inputType: int16): ^InitialLoadOutputRec;
GetPathname(userID: int16, fileNumber: int16): Ptr {
@ -81,12 +83,18 @@ RenamePathname(oldPathname: Ptr, newPathname: Ptr) {
$11, $13
}
LoadSegName(userID: int16, loadFileNamePtr: Ptr,
loadSegNamePtr: Ptr): ^LoadSegNameOut;
loadSegNamePtr: Ptr): ^LoadSegNameOut {
$11, $0d
}
LoadSegNum(userID: int16, loadFileNum: int16, loadSegNum: int16): Ptr {
$11, $0b
}
Restart(userID: int16): ^RestartOutRec;
UnloadSeg(segmentPtr: Ptr): ^UnloadSegOutRec;
Restart(userID: int16): ^RestartOutRec {
$11, $0a
}
UnloadSeg(segmentPtr: Ptr): ^UnloadSegOutRec {
$11, $0e
}
UnloadSegNum(userID: int16, loadFileNum: int16, loadSegNum: int16) {
$11, $0c
}

View File

@ -336,15 +336,21 @@ DelHeartBeat(taskPtr: Ptr) {
$03, $13
}
FWEntry(aRegValue: int16, xRegValue: int16, yRegValue: int16,
eModeEntryPt: int16): ^FWRec;
GetAbsClamp(): ^ClampRec;
eModeEntryPt: int16): ^FWRec {
$03, $24
}
GetAbsClamp(): ^ClampRec {
$03, $2b
}
GetAddr(refNum: int16) {
$03, $16
}
GetIRQEnable(): int16 {
$03, $29
}
GetMouseClamp(): ^ClampRec;
GetMouseClamp(): ^ClampRec {
$03, $1d
}
GetNewID(idTag: int16) {
$03, $20
}
@ -383,13 +389,19 @@ ReadBParam(paramRefNum: BatteryParam): int16 {
ReadBRam(bufferPtr: Ptr) {
$03, $0a
}
ReadMouse(): ^MouseRec;
ReadTimeHex(): ^TimeRec;
ReadMouse(): ^MouseRec {
$03, $17
}
ReadTimeHex(): ^TimeRec {
$03, $0d
}
ServeMouse(): int16 {
$03, $1f
}
SetAbsClamp(xMinClamp: int16, xMaxClamp: int16, yMinClamp: int16,
yMaxClamp: int16);
yMaxClamp: int16) {
$03, $2a
}
SetHeartBeat(taskPtr: Ptr) {
$03, $12
}
@ -419,7 +431,9 @@ WriteBRam(bufferPtr: Ptr) {
$03, $09
}
WriteTimeHex(month: uint8, day: uint8, curYear: uint8, hour: uint8,
minute: uint8, second: uint8);
minute: uint8, second: uint8) {
$03, $0e
}
AddToQueue(newEntryPtr: Ptr, headerPtr: Ptr) {
$03, $2e
}

View File

@ -73,7 +73,9 @@ SeqAllNotesOff() {
ClearIncr() {
$1a, $0a
}
GetLoc(): ^LocRec;
GetLoc(): ^LocRec {
$1a, $0c
}
GetTimer(): int16 {
$1a, $0b
}

View File

@ -33,6 +33,15 @@ SANEReset() {
SANEStatus(): bool {
$0a, $06
}
SANEFP816() {
$0a, $09
}
SANEDecStr816() {
$0a, $0a
}
SANEElems816() {
$0a, $0b
}
Num2Integer(x: Extended): int16;
Num2Longint(x: Extended): int32;
Num2Real(x: Extended): Single;

View File

@ -88,15 +88,21 @@ ErrWriteString(str: ^Str255) {
GetErrGlobals(): TxtMaskRec {
$0c, $0e
}
GetErrorDevice(): ^DeviceRec;
GetErrorDevice(): ^DeviceRec {
$0c, $14
}
GetInGlobals(): TxtMaskRec {
$0c, $0c
}
GetInputDevice(): ^DeviceRec;
GetInputDevice(): ^DeviceRec {
$0c, $12
}
GetOutGlobals(): TxtMaskRec {
$0c, $0d
}
GetOutputDevice(): ^DeviceRec;
GetOutputDevice(): ^DeviceRec {
$0c, $13
}
InitTextDev(deviceNum: int16) {
$0c, $15
}

View File

@ -423,7 +423,7 @@ WindDragRect(actionProcPtr: VoidProcPtr, dragPatternPtr: ^Pattern,
WindNewRes() {
$0e, $25
}
WindowGlboal(windowGlobalMask: int16): int16 {
WindowGlobal(windowGlobalMask: int16): int16 {
$0e, $56
}
ZoomWindow(theWindowPtr: WindowPtr) {

30959
src/iigs.h

File diff suppressed because it is too large Load Diff