From ff746b119ced0a50914175baf52e9ee196c107dc Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Thu, 9 Feb 2012 09:24:09 +0000
Subject: [PATCH] On Apple GEOS all "low jumptable" entries went into
'diskdrv.inc'. So this needs to be included in quite some source files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5511 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
libsrc/geos-common/disk/blkalloc.s | 1 +
libsrc/geos-common/disk/calcblksfree.s | 1 +
libsrc/geos-common/disk/freeblock.s | 1 +
libsrc/geos-common/disk/getblock.s | 1 +
libsrc/geos-common/disk/getdirhead.s | 1 +
libsrc/geos-common/disk/nxtblkalloc.s | 1 +
libsrc/geos-common/disk/opendisk.s | 1 +
libsrc/geos-common/disk/putblock.s | 1 +
libsrc/geos-common/disk/putdirhead.s | 1 +
libsrc/geos-common/disk/setnextfree.s | 1 +
libsrc/geos-common/dlgbox/dlgboxfileselect.s | 1 +
libsrc/geos-common/file/appendrecord.s | 1 +
libsrc/geos-common/file/closerecordfile.s | 1 +
libsrc/geos-common/file/deletefile.s | 1 +
libsrc/geos-common/file/deleterecord.s | 1 +
libsrc/geos-common/file/findfile.s | 1 +
libsrc/geos-common/file/findftypes.s | 1 +
libsrc/geos-common/file/freefile.s | 1 +
libsrc/geos-common/file/getfhdrinfo.s | 1 +
libsrc/geos-common/file/getfile.s | 1 +
libsrc/geos-common/file/insertrecord.s | 1 +
libsrc/geos-common/file/nextrecord.s | 1 +
libsrc/geos-common/file/openrecordfile.s | 1 +
libsrc/geos-common/file/pointrecord.s | 1 +
libsrc/geos-common/file/previousrecord.s | 1 +
libsrc/geos-common/file/readfile.s | 1 +
libsrc/geos-common/file/readrecord.s | 1 +
libsrc/geos-common/file/renamefile.s | 1 +
libsrc/geos-common/file/savefile.s | 1 +
libsrc/geos-common/file/sysremove.s | 1 +
libsrc/geos-common/file/sysrename.s | 1 +
libsrc/geos-common/file/updaterecordfile.s | 1 +
libsrc/geos-common/file/writerecord.s | 1 +
33 files changed, 33 insertions(+)
diff --git a/libsrc/geos-common/disk/blkalloc.s b/libsrc/geos-common/disk/blkalloc.s
index bce4dd188..53c99d0ed 100644
--- a/libsrc/geos-common/disk/blkalloc.s
+++ b/libsrc/geos-common/disk/blkalloc.s
@@ -9,6 +9,7 @@
.export _BlkAlloc
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_BlkAlloc:
diff --git a/libsrc/geos-common/disk/calcblksfree.s b/libsrc/geos-common/disk/calcblksfree.s
index 481ab5657..bd60a7d94 100644
--- a/libsrc/geos-common/disk/calcblksfree.s
+++ b/libsrc/geos-common/disk/calcblksfree.s
@@ -9,6 +9,7 @@
.export _CalcBlksFree
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_CalcBlksFree:
diff --git a/libsrc/geos-common/disk/freeblock.s b/libsrc/geos-common/disk/freeblock.s
index 74bb74448..fd7017477 100644
--- a/libsrc/geos-common/disk/freeblock.s
+++ b/libsrc/geos-common/disk/freeblock.s
@@ -9,6 +9,7 @@
.export _FreeBlock
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_FreeBlock:
diff --git a/libsrc/geos-common/disk/getblock.s b/libsrc/geos-common/disk/getblock.s
index 24e8415a9..342b2f1b1 100644
--- a/libsrc/geos-common/disk/getblock.s
+++ b/libsrc/geos-common/disk/getblock.s
@@ -10,6 +10,7 @@
.export _GetBlock
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_GetBlock:
diff --git a/libsrc/geos-common/disk/getdirhead.s b/libsrc/geos-common/disk/getdirhead.s
index efe8b7217..1d014bf44 100644
--- a/libsrc/geos-common/disk/getdirhead.s
+++ b/libsrc/geos-common/disk/getdirhead.s
@@ -9,6 +9,7 @@
.export _GetDirHead
.include "jumptab.inc"
+ .include "diskdrv.inc"
_GetDirHead:
jsr GetDirHead
diff --git a/libsrc/geos-common/disk/nxtblkalloc.s b/libsrc/geos-common/disk/nxtblkalloc.s
index e8cecd522..c5dcd0ab2 100644
--- a/libsrc/geos-common/disk/nxtblkalloc.s
+++ b/libsrc/geos-common/disk/nxtblkalloc.s
@@ -11,6 +11,7 @@
.export _NxtBlkAlloc
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_NxtBlkAlloc:
diff --git a/libsrc/geos-common/disk/opendisk.s b/libsrc/geos-common/disk/opendisk.s
index 362c0042f..e3ecb8d12 100644
--- a/libsrc/geos-common/disk/opendisk.s
+++ b/libsrc/geos-common/disk/opendisk.s
@@ -9,6 +9,7 @@
.export _OpenDisk
.include "jumptab.inc"
+ .include "diskdrv.inc"
_OpenDisk:
jsr OpenDisk
diff --git a/libsrc/geos-common/disk/putblock.s b/libsrc/geos-common/disk/putblock.s
index 5da09a975..278fbaaef 100644
--- a/libsrc/geos-common/disk/putblock.s
+++ b/libsrc/geos-common/disk/putblock.s
@@ -10,6 +10,7 @@
.export _PutBlock
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_PutBlock:
diff --git a/libsrc/geos-common/disk/putdirhead.s b/libsrc/geos-common/disk/putdirhead.s
index 8f1014d00..039766abc 100644
--- a/libsrc/geos-common/disk/putdirhead.s
+++ b/libsrc/geos-common/disk/putdirhead.s
@@ -9,6 +9,7 @@
.export _PutDirHead
.include "jumptab.inc"
+ .include "diskdrv.inc"
_PutDirHead:
jsr PutDirHead
diff --git a/libsrc/geos-common/disk/setnextfree.s b/libsrc/geos-common/disk/setnextfree.s
index 9bfbe2342..aca3802d8 100644
--- a/libsrc/geos-common/disk/setnextfree.s
+++ b/libsrc/geos-common/disk/setnextfree.s
@@ -10,6 +10,7 @@
.export _SetNextFree
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_SetNextFree:
diff --git a/libsrc/geos-common/dlgbox/dlgboxfileselect.s b/libsrc/geos-common/dlgbox/dlgboxfileselect.s
index b9a073c0c..53349ce58 100644
--- a/libsrc/geos-common/dlgbox/dlgboxfileselect.s
+++ b/libsrc/geos-common/dlgbox/dlgboxfileselect.s
@@ -10,6 +10,7 @@
.import _DoDlgBox
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
.include "geosmac.inc"
.include "const.inc"
diff --git a/libsrc/geos-common/file/appendrecord.s b/libsrc/geos-common/file/appendrecord.s
index 49a9cee46..4f0ca8dbe 100644
--- a/libsrc/geos-common/file/appendrecord.s
+++ b/libsrc/geos-common/file/appendrecord.s
@@ -9,6 +9,7 @@
.export _AppendRecord
.include "jumptab.inc"
+ .include "diskdrv.inc"
_AppendRecord:
diff --git a/libsrc/geos-common/file/closerecordfile.s b/libsrc/geos-common/file/closerecordfile.s
index 8ac739b8b..2ca471c8d 100644
--- a/libsrc/geos-common/file/closerecordfile.s
+++ b/libsrc/geos-common/file/closerecordfile.s
@@ -9,6 +9,7 @@
.export _CloseRecordFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
_CloseRecordFile:
jsr CloseRecordFile
diff --git a/libsrc/geos-common/file/deletefile.s b/libsrc/geos-common/file/deletefile.s
index cd7bade9b..e2b05b9da 100644
--- a/libsrc/geos-common/file/deletefile.s
+++ b/libsrc/geos-common/file/deletefile.s
@@ -9,6 +9,7 @@
.export _DeleteFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_DeleteFile:
diff --git a/libsrc/geos-common/file/deleterecord.s b/libsrc/geos-common/file/deleterecord.s
index be1a9863a..886f6f3dc 100644
--- a/libsrc/geos-common/file/deleterecord.s
+++ b/libsrc/geos-common/file/deleterecord.s
@@ -9,6 +9,7 @@
.export _DeleteRecord
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_DeleteRecord:
diff --git a/libsrc/geos-common/file/findfile.s b/libsrc/geos-common/file/findfile.s
index 2f3049915..a5f77ac35 100644
--- a/libsrc/geos-common/file/findfile.s
+++ b/libsrc/geos-common/file/findfile.s
@@ -9,6 +9,7 @@
.export _FindFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_FindFile:
diff --git a/libsrc/geos-common/file/findftypes.s b/libsrc/geos-common/file/findftypes.s
index 28e5fddff..765f47e40 100644
--- a/libsrc/geos-common/file/findftypes.s
+++ b/libsrc/geos-common/file/findftypes.s
@@ -9,6 +9,7 @@
.import popax, popa, setoserror
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
.code
diff --git a/libsrc/geos-common/file/freefile.s b/libsrc/geos-common/file/freefile.s
index a87620c09..25d6c9d74 100644
--- a/libsrc/geos-common/file/freefile.s
+++ b/libsrc/geos-common/file/freefile.s
@@ -9,6 +9,7 @@
.export _FreeFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_FreeFile:
diff --git a/libsrc/geos-common/file/getfhdrinfo.s b/libsrc/geos-common/file/getfhdrinfo.s
index a09694b14..6200c8075 100644
--- a/libsrc/geos-common/file/getfhdrinfo.s
+++ b/libsrc/geos-common/file/getfhdrinfo.s
@@ -9,6 +9,7 @@
.export _GetFHdrInfo
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_GetFHdrInfo:
diff --git a/libsrc/geos-common/file/getfile.s b/libsrc/geos-common/file/getfile.s
index b302df0c6..2496186d7 100644
--- a/libsrc/geos-common/file/getfile.s
+++ b/libsrc/geos-common/file/getfile.s
@@ -9,6 +9,7 @@
.import popa, popax, setoserror
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_GetFile:
diff --git a/libsrc/geos-common/file/insertrecord.s b/libsrc/geos-common/file/insertrecord.s
index 75090322b..881537add 100644
--- a/libsrc/geos-common/file/insertrecord.s
+++ b/libsrc/geos-common/file/insertrecord.s
@@ -9,6 +9,7 @@
.export _InsertRecord
.include "jumptab.inc"
+ .include "diskdrv.inc"
_InsertRecord:
jsr InsertRecord
diff --git a/libsrc/geos-common/file/nextrecord.s b/libsrc/geos-common/file/nextrecord.s
index 3be5528a0..1c0ec4272 100644
--- a/libsrc/geos-common/file/nextrecord.s
+++ b/libsrc/geos-common/file/nextrecord.s
@@ -9,6 +9,7 @@
.export _NextRecord
.include "jumptab.inc"
+ .include "diskdrv.inc"
_NextRecord:
jsr NextRecord
diff --git a/libsrc/geos-common/file/openrecordfile.s b/libsrc/geos-common/file/openrecordfile.s
index 4361eaf3d..4052a5a23 100644
--- a/libsrc/geos-common/file/openrecordfile.s
+++ b/libsrc/geos-common/file/openrecordfile.s
@@ -9,6 +9,7 @@
.export _OpenRecordFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_OpenRecordFile:
diff --git a/libsrc/geos-common/file/pointrecord.s b/libsrc/geos-common/file/pointrecord.s
index 299c30352..b2faf0f0f 100644
--- a/libsrc/geos-common/file/pointrecord.s
+++ b/libsrc/geos-common/file/pointrecord.s
@@ -9,6 +9,7 @@
.export _PointRecord
.include "jumptab.inc"
+ .include "diskdrv.inc"
_PointRecord:
jsr PointRecord
diff --git a/libsrc/geos-common/file/previousrecord.s b/libsrc/geos-common/file/previousrecord.s
index bd514d2e0..e0151916f 100644
--- a/libsrc/geos-common/file/previousrecord.s
+++ b/libsrc/geos-common/file/previousrecord.s
@@ -9,6 +9,7 @@
.export _PreviousRecord
.include "jumptab.inc"
+ .include "diskdrv.inc"
_PreviousRecord:
jsr PreviousRecord
diff --git a/libsrc/geos-common/file/readfile.s b/libsrc/geos-common/file/readfile.s
index 5dd33707d..db315498a 100644
--- a/libsrc/geos-common/file/readfile.s
+++ b/libsrc/geos-common/file/readfile.s
@@ -10,6 +10,7 @@
.import gettrse
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_ReadFile:
diff --git a/libsrc/geos-common/file/readrecord.s b/libsrc/geos-common/file/readrecord.s
index fb2faa95d..507d0a02c 100644
--- a/libsrc/geos-common/file/readrecord.s
+++ b/libsrc/geos-common/file/readrecord.s
@@ -9,6 +9,7 @@
.import popax, setoserror
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_ReadRecord:
diff --git a/libsrc/geos-common/file/renamefile.s b/libsrc/geos-common/file/renamefile.s
index a46a4f14e..2c7da89d7 100644
--- a/libsrc/geos-common/file/renamefile.s
+++ b/libsrc/geos-common/file/renamefile.s
@@ -9,6 +9,7 @@
.import popax, setoserror
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_RenameFile:
diff --git a/libsrc/geos-common/file/savefile.s b/libsrc/geos-common/file/savefile.s
index 65d9aee76..1b49bcfb8 100644
--- a/libsrc/geos-common/file/savefile.s
+++ b/libsrc/geos-common/file/savefile.s
@@ -10,6 +10,7 @@
.export _SaveFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_SaveFile:
diff --git a/libsrc/geos-common/file/sysremove.s b/libsrc/geos-common/file/sysremove.s
index 0ae149aa0..2edf50aec 100644
--- a/libsrc/geos-common/file/sysremove.s
+++ b/libsrc/geos-common/file/sysremove.s
@@ -8,6 +8,7 @@
.export __sysremove
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
__sysremove:
diff --git a/libsrc/geos-common/file/sysrename.s b/libsrc/geos-common/file/sysrename.s
index cac878e19..a1060c4d5 100644
--- a/libsrc/geos-common/file/sysrename.s
+++ b/libsrc/geos-common/file/sysrename.s
@@ -9,6 +9,7 @@
.import popax
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
__sysrename:
diff --git a/libsrc/geos-common/file/updaterecordfile.s b/libsrc/geos-common/file/updaterecordfile.s
index 590643ff5..ac0989ac6 100644
--- a/libsrc/geos-common/file/updaterecordfile.s
+++ b/libsrc/geos-common/file/updaterecordfile.s
@@ -9,6 +9,7 @@
.export _UpdateRecordFile
.include "jumptab.inc"
+ .include "diskdrv.inc"
_UpdateRecordFile:
jsr UpdateRecordFile
diff --git a/libsrc/geos-common/file/writerecord.s b/libsrc/geos-common/file/writerecord.s
index c495d069e..e2449abc4 100644
--- a/libsrc/geos-common/file/writerecord.s
+++ b/libsrc/geos-common/file/writerecord.s
@@ -9,6 +9,7 @@
.import popax, setoserror
.include "jumptab.inc"
+ .include "diskdrv.inc"
.include "geossym.inc"
_WriteRecord:
--
2.39.5