home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Brotikasten
/
BROTCD01.iso
/
geos
/
geos59.d64
/
page01-11
< prev
next >
Wrap
Text File
|
1995-08-05
|
29KB
|
727 lines
╟┼╧╙ ╨ROGRAMMER'S ╥EFERENCE ╟UIDE
WRITTEN BY
┴LEXANDER ─ONALD ┬OYCE
╨REFACE
╘HIS DOCUMENT WAS WRITTEN AFTER HAVING DISASSEMBLED THE ╟┼╧╙
╦ERNAL AND COMPLETELY COMMENTING AND REVERSE ENGINEERING IT. ╔T
TOOK A GREAT DEAL OF TIME TO DO THIS, BUT ╔ DID IT BECAUSE ╔
ENJOY COMPUTER PROGRAMMING AND DECIPHERING OTHER PEOPLE'S
PROGRAMS. ┬ECAUSE OF THE AMOUNT OF EFFORT INVOLVED IN CREATING
THIS DOCUMENT, ╔ DO NOT REALLY WISH TO GIVE IT AWAY. ╚OWEVER, ╔
KNOW THERE ARE OTHER PROGRAMMERS WHO WILL BENEFIT FROM MY HARD
WORK. ╘HEREFORE ╔ AM OFFERING THIS DOCUMENT AS SHAREWARE. ╔F YOU
GET GOOD USE OUT OF THIS DOCUMENT, SEND ME WHATEVER YOU FEEL IT
IS WORTH TO YOU (OR SOME REASONABLE AMOUNT, PERSONNALY ╔ FIND IT
INVALUABLE). ┴ FEW DOLLARS WOULD BE APPRECIATED. ╚ERE IS MY
ADDRESS:
┴LEXANDER ─ONALD ┬OYCE
2269 ╟RANDVIEW ┴VE., ┴PT. 1
├LEVELAND ╚EIGHTS, ╧HIO 44106-3144
╘HANK YOU AND HAPPY COMPUTING!!
┴LEX ┬OYCE
╧CTOBER 1986
╘ABLE OF ├ONTENTS
├HAPTER 1 ╟┼╧╙ ╦ERNAL ╥OUTINES
─EFINES ALL THE ╟┼╧╙ KERNAL ROUTINES ALONG WITH
THEIR INPUT AND OUTPUT REQUIREMENTS.
├HAPTER 2 ─EVICE ─RIVERS
─EFINES THE FORMAT FOR ╔NPUT AND ╨RINTER ─RIVERS.
├HAPTER 3 ╞ILE ╞ORMATS
─ESCRIBES THE FORMAT OF ALL OF ╟┼╧╙'S VARIOUS
FILES.
├HAPTER 4 ─IRECTORY ╙TRUCTURE
─ESCRIBES THE STRUCTURE OF A ╟┼╧╙ DISK'S
DIRECTORY.
├HAPTER 5 ╔NFORMATION ╙ECTOR ╞ORMAT
─ESCRIBES THE STRUCTURE AND THE DATA CONTAINED IN
A FILE'S INFORMATION SECTOR.
├HAPTER 6 ═EMORY ═AP
─EFINES THE MEMORY LOCATIONS USED BY ╟┼╧╙.
┴PPENDIX ╔ ╟┼╧╙ ┼RRORS
─EFINES THE ERROR NUMBERS THAT CAN BE RETURNED BY
THE ╟┼╧╙ ╦ERNAL ROUTINES.
┴PPENDIX ╔╔ ╟LOSSARY
─EFINES SEVERAL TERMS USED IN THIS DOCUMENT.
┴PPENDIX ╔╔╔ ╞ILL ╨ATTERNS
┴ REPRESENTATION OF ╟┼╧╙'S 32 FILL PATTERNS.
┴PPENDIX ╔╓ ╨ROGRAMMING ╬OTES
╔NFORMATION NECESSARY FOR ╟┼╧╙ PROGRAMMING.
╟┼╧╙ ╦ERNAL ╥OUTINES 1-1
┴LPHABETICAL ╠ISTING
┴┬╙16 $├16╞ 16 BIT ABSOLUTE VALUE 1-9
┴╠╠╧├ $├292 ╞IND AND ALLOCATE A DISK BLOCK 1-9
┴╨╨┼╬─ $├289 ┴DD A ╓╠╔╥ CHAIN 1-9
┬┴╙╔├ $├241 ╥ESTART ┬┴╙╔├ 1-10
┬╠╦├═╨ $├26┼ ═EMORY BLOCK COMPARISON 1-10
┬╠╦╞╔╠ $├17┬ ═EMORY BLOCK FILL 1-10
┬╠╦╞╠2 $├1┬4 ═EMORY BLOCK FILL WITH INLINE DATA 1-11
┬╠╦═╧╓ $├268 ═EMORY BLOCK MOVE 1-11
┬╠╦╙┼╘ $├181 ═ULTIPLE MEMORY LOCATION
INITIALIZATION 1-11
├┬╧╪ $├142 ─RAW A CLICK BOX 1-12
├┬╧╪2 $├1┴┬ ─RAW A CLICK BOX WITH INLINE DATA 1-12
├┬╧╪┼╙ $├15┴ ─RAW A TABLE OF CLICK BOXES 1-13
├╚┴╥╙╘ $├1┬1 ╟ET A CHARACTER'S STATS 1-13
├╚╟─╥╓ $├2┬├ ├HANGE DISK DRIVE DEVICE NUMBER 1-14
├╦═╧╒╙ $├2┬3 ├HECK IF MOUSE IS INSIDE A WINDOW 1-14
├╠╥╥─┘ $├232 ╙TOP TURBODOS IN A DRIVE 1-14
├╠╥╙╘╙ $├235 ╙TOP AND REMOVE TURBODOS IN A DRIVE 1-15
├╠╙═╬╒ $├190 ├LOSE CURRENT MENU 1-15
├╠╙╙┼╥ $├25╞ ├LOSE SERIAL COMMUNICATION 1-15
├╠╙╫╔╬ $├2┬╞ ├LOSE A WINDOW 1-15
├═─╘┬╠ $├103 ╔NITIALIZE A TABLE OF RECURRING
TIMED EVENTS 1-16
├═┼╬╒╙ $├1┬─ ├LOSE ALL MENU LEVELS 1-16
├╧╬╓╥╘ $├1┼┴ ├ONVERT A DISK TO ╟┼╧╙ FORMAT 1-16
├╧╨┘┬ $├12─ ├OPY A BOX FROM SCREEN 1 TO SCREEN 2 1-17
├╧╨┘┬2 $├1┴5 ├OPY A BOX FROM SCREEN 1 TO SCREEN 2
WITH INLINE DATA 1-17
├╧╨┘┬3 $├250 ├OPY A BOX FROM SCREEN 2 TO SCREEN 1 1-17
├╧╨┘┬4 $├253 ├OPY A BOX FROM SCREEN 2 TO SCREEN 1
WITH INLINE DATA 1-17
├╧╨┘╠ $├11┼ ├OPY A LINE FROM SCREEN 2 TO SCREEN 1 1-18
├╧╨┘╙╨ $├1├6 ├OPY A SPRITE DATA BLOCK 1-18
├╒╥╙╧╞ $├29┼ ╘URN OFF THE TEXT CURSOR 1-18
├╒╥╙╧╬ $├29┬ ╘URN ON THE TEXT CURSOR 1-18
├╫╔─╘╚ $├1├9 ╟ET A CHARACTER'S WIDTH 1-19
├╫╥╔╘┼ $├223 ╓ERIFY BEFORE WRITING SECTOR 1-19
─┼├16 $├175 ─ECREMENT A 16 BIT INTEGER 1-19
─┼├╧─┼ $├20┼ ├OMPUTE THE CHECKSUM OF A MEMORY
REGION 1-20
─┼╠┴┘ $├199 ╙ET UP A TIME DELAY 1-20
─┼╠┼╘2 $├244 ─ELETE A TEMPORARY FILE 1-20
─┼╠┼╘┼ $├238 ─ELETE A FILE 1-20
─╔╥─╙╦ $├1╞0 ├REATE A DIRECTORY ENTRY ON DISK 1-21
─╔╥═┼═ $├1╞3 ├REATE A DIRECTORY ENTRY IN MEMORY 1-21
─╥┴╫ $├2┴┴ ─RAW A CODED IMAGE 1-22
─╥┴╫2 $├2├5 ─RAW A CODED IMAGE WITH USER PATCHES 1-22
─╥┴╫├╚ $├202 ─RAW A CHARACTER ON THE SCREEN 1-23
─╥╓╬┴═ $├298 ├OMPUTE ADDRESS OF DISK'S NAME 1-23
─╥╓╙┼╘ $├2┬0 ╙ELECT A DRIVE 1-23
─╥╫═╬╒ $├193 ─RAW THE CURRENT MENU 1-23
─╙┼╘╒╨ $├214 ╙ETUP A DRIVE WITH TURBODOS 1-24
╟┼╧╙ ╦ERNAL ╥OUTINES 1-2
─╙╨├╚╥ $├145 ─ISPLAY A CHARACTER 1-24
─╙╨╬╒═ $├184 ─ISPLAY A 16 BIT INTEGER 1-25
─╙╨╘╪2 $├1┴┼ ─ISPLAY A TEXT STRING WITH INLINE
DATA 1-26
─╙╨╘╪╘ $├148 ─ISPLAY A TEXT STRING 1-26
┼╬┴┬╠┼ $├106 ┼NABLE A RECURRING TIMED EVENT 1-26
┼╥┴═╬╙ $├157 ┼RASE ALL MENUS 1-27
┼╥┴═╬╒ $├154 ┼RASE THE CURRENT MENU 1-27
┼╪┼╥╘╬ $├109 ╞ORCE A RECURRING TIMED EVENT TO RUN 1-27
╞┴╠╠╧├ $├1╞├ ┴LLOCATE SECTORS FOR A FILE 1-27
╞┴╠╧├2 $├24─ ┴LLOCATE SECTORS FOR A FILE 1-28
╞╧╬╘ $├1├├ ═AKE A MEMORY RESIDENT FONT THE
CURRENT FONT 1-28
╞╧╥┬╔─ $├10├ ╨REVENT A RECURRING TIMED EVENT FROM
RUNNING 1-28
╞╥┼┼ $├226 ╞REE A FILE'S SECTORS 1-29
╟┼╧╙├╦ $├1─┼