
The fastest way to AMIGA program the Commodore Amiga personal computer Compatible with the in C or assembly. PROGRAMMER'S latest versions of All the details you need constantly, in QUICK REFERENCE SAS/C and Aztec C. one place. By Mike McKittrick, D.E. Moseley, Dave Dean, and Richard Lucas Guru Meditations (System Errors) Rawkey Notes Exec Library Caps Lock generates a keycode when pressed, not when released. h I ss I GE I xxxx I . ADDRESS I 81000001 - CPU trap vector checksum error generates code 62 when the LED is lit, E2 when the LED is extin­ 81000002 - ExecBase checksum error guished, All other keys generate the codes shown in the diagram SS: SubSystem IDs 81000003 - Library checksum failure when pressed; plus Ox80 when released. Other codes: (High bit set illdi("Qtl!.I' unrecol'erable.) 81000004 - No memory to make library 68 left mouse bUllon FA keyboard overflow 00 - CPU trap. Defined by the 68000. 81000005 - Corrupted free memory list 69 right mouse bullon FC keyboard selftest failed 01 . Exec Library 81000006 - No memory for interrupt servers 6A middle mouse bUllon FF mouse movement only 02 . Graphics Library 81000007 - InitAPtr 03 • Layers Library 81000008 - Semaphore corrupt 07000005 - Freevcc failed 04 . Intuition Library 81000009 - Free twice 07000006 - Di sk block sequence error 05 • Math Library 8100000A - Bogus exception 07000007 - Bitmap corrupt 06 . CList Library 07000008 - Key already free 07· DOS Library Graphics Library 82010001 - Copper display list, no memory 07000009 - Invalid checksum 08· RAM Library 0700000A - Disk error 09 . Icon Library 82010002 - Copper instruction list. no memory 82000003 - Copper list too long 0700000B - Key OUI of range 10 - Audio Device 0700000C - Bad overlay II - Console Device 82000004 - Copper intermediate list too long 12 - Gamepon Device 82010005 - Copper list head, no memory TrackDisk Device 13 . Keyboard Device 82010006 - Long frame, no memory 1400000 I - Calibrate: seek error 14 - Track Disk Device 82010007 - Short frame, no memory 14000002 - Delay: error on timer wait 15 - Timer Device 82010008 - Flood till . no memory 820 I 0009 - Text, no memory for TmpRas Timer Device 20 - CIA Resource 1500000 I - Bad re4uest 21 . Disk Resource 8201000A - BItBitMap, no memory 22 - Misc Resource 8201000B - Region memory Disk Resource 30 - Bootstrap 82010030 - MakeVPon 21000001 - Get unit: already has disk 21000002 - Interrupt: no active unit 31 - Workbench 82011234 - GfxNoLCM 32 - DiskCopy Layers Library Bootstrap 83010001 - LayersNoMem 30000001 - Boot code returned an error GE: General Error Codes 00 - Not applicable Intuition Library 01 - Insufficient memory 84000001 - Unknown gadget type 02 - MakeLibrary Error 840 I 0002 - CreatePon, no memory Contents 03 - OpenLibrary Error 84010003 - hem plane alloc, no memory 04 - OpenDevice error 840 I 0004 - Sub alloc. no memory Rawkey Codes" _".""."."."",." .. " " .. "." 1 05 - Open Resource Error 84010005 - Plane alloc, no memory 06 - I/O Error 84000006 - hem box top < RelZero Guru Meditations/System Errors ."" .... " 1 84010007 - Open screen, no memory XXXX: Specific Error Codes 840 I 0008 - Open Screen 's AllocRasl. no memory Manx C Compiler Flags " .. " .. " ."." ." .. " ..2 CPU Traps 84000009 - Open sys screen, unknown type Lattice C Compiler Flags """."."."".".,,2 02 - B us Error 840 I OOOA - Add SW gadgets. no memory C Language Reference ""."""."" ... ".".4 03 - Address Error 840 I OOOB - Open window, no memory 04 - Illegal Instruction 8400000c - Bad State Return entering Intuition printf and scanf codes."""."." .. """."" .. ? 05 - Divide by Zero 8400000D - Bad Message received from IDCMP 68000 Assembly Instructions" .. "."." ..... 8 06 . CHK Instruction 84oooo0E - Weird echo causing problem 07 - TRAPV (Overflow) 84oooo0F - Couldn 't open the Console Device Guru Screen and Console Codes" ... "., .. " .. " 15 08 - Privilege Violation explanations ASCII Character Table"" .... """.""."" 16 09 - Instruction Trace DOS Library OA - Line A Emulation 070 10001 - No memory at stanup ......••..............••.......•••••............ OB - Line F Emulation 07000002 - EndTask didn't TRAPO ... 15 20 ... 2F 07000003 - Qpkt failure VIOlA n" 07000004 - Unexpected packet received ....................••.......................... Aztec C McKittrick, Moseley, Dean , and Lucas Amiga Programmer's Quick Reference Aztec C Compiler Options -g Generate an SOB debugger .dbg file +1 Treat the following files as librari es until another +1 is found -Inome Link with library nome.lib. E.g.: -Ie means link c. lib cc [opliol1sJjilcnome (wildcard s not pennitted) -m Disable warnings abo ut module symbols overriding library sy mbols -ojile Generate executable filejile -3 Interpret following options using version 3.6 rules +o[iJ Place the following object modules in code segme nt 'i' -5 Interpret following options using version 5.0 rules -q Turns off SOB file ge nerati on -a Create but don't assemble assemb ly fi Ie +q Disable module-by-module display while linking -at Same as -a, bu t imbed C code as comments +sss +ss +s \'01 Specify 4 differenr model scatte r load ing ranging from all mod- -bd Enable stack options ules in one hunk to one hunk per module -bs Produce SOB debugger info -t Generate an ASCII symbol table file -c2 Create 68020 code -w Generate a Wack-readable symbol table. Also usable by db -d Define a symbol for the preprocessor -v Specify verbose link -fa Generate code for Amiga IEEE floating point -ff Generate code for Motorola Fas t Floating Point -fm Generate code for Aztec IEEE floating poilll (default) -f8 Generate code for Motorola 6888 1 floming poinr SAS/lattice C Compiler Options -hi Use precompiled header file -ho Write precompiled header file l c [opliOI15 ] jilel file2 (wildcards pennitted) -I Set path for include files -k Compile according to K&R (Uni x Ver. 7) standa rd -a Load speci fed area(s) into chip memory. One or more of the follow­ -ma Force alignmenr of shon and long data items (defaulrl ing letters must immed iatel y follow -a (in any order): -mb Generate public, beg i n symbol (default) b Bss (uninitialized data) -mc Use large code memory model c Code segment -md Use large code data mode l d Data segment -me Align mings on word boundaries -bO Access all data items by 32 bit address -mm Put data in code segment -bl Access all data it ems as a 16 bit offset from register a4 -ms Put static st rin gs in data segment -c Continue with nex t file if fatal compi lati on error detected -oname Use name for output file -c Code ge neration, error reponing and sou rce inrerpret3tion !lags. One Or -pa Turn on ANSI preprocessor and trigraphs. more of the following letters must immediately follow -c (in any order): -pb Make bit fields un signed by default -pc Allow ex tra cha racte rs afier #endi for #e lse (defauh) + Compatibility mode for Lattice C++ -pe Make en ums occupy minimum amount of space (defauh) a Enable full ANSI checking, Suppress precompiled heade r files, multi­ -pi Define integers to be 32 bit (defau lt ) ple includes of the same file, and more in order to do this -po Use Version 3,6 preprocessor c Allow nested comments -pp Make characters unsigned by default d Allow $ character in identifiers -ps Define integers to be 16 bit e Suppress the printing of source line with warning and error messages -pt Look for trigraphs in the input st ream Complain if a function call is encountered without a prototype -pu Use unsigned preserving rules Suppress multiple includes of the same file -qa Causes generated prototypes to use _PARMS syntax k Enable chip, near, and far keywords even with -ca specified -qf Enable Qu i k Fi x I Allow a pre-ANSI dialect -qp Generate prototypes for all non -sIatic functions in file m Allow use multiple character constants; e.g . 'ab' -qq Prevent stan up and error messages from bei ng displayed n Allow nesting of #define symbols -qs Generate prototypes for all stati c functions defined in file 0 Use pre-ANSI prep roce ssor of previous ve rsions of the compiler -qv Generate ve rb ose information on memory usage Enable registerized parameter passing -r4 Use a4 for register variables Use only one copy of duplicate stati c st ri ngs -sa Enable two-pass assembl in g for opimil.ati ons Enable warning messages for structu re and un ions tags used without -sb Enable use of built-in in-lines for strcpy(), st rcmp(), and strlen() being defined -sf Generate an optimized f o r (; ; ) u Force all char declarations to be treated as unsigned -sm DefUle the _C_MACROS_ macro to replace some functions with in­ w No warning for absence of return stateme nt s in a function defined as lines returning an int -sn If no local variables defiJ1ed, no LINK and UNLK instructions generated x Treat all global data declarations as ex terna l -so A shonhand for -safmnprs -dO Disable all debugging infonnation -sp Delay the popping of argumenrs until necessary -dl Enable output of the line number/offset table -sr Allocate regi sters based on weighted usage cou nt s -d Same as -d I -ss Use only one copy of duplicate stati c st rin gs -d2 Output full debugging infonnation for on l y those symbols and struc­ -su Same as -sr but allocate to user specifed variables first tures referenc ed by the program. -wa ComplaiJ1 about argumenrs which do not match the prototype spec ificat ion -d3 Same as -d2 and flush all registers at line boundaries -wi Shonhand for -waru (roughly equivalent to using 1 i n t ) -d4 Ourput full debugging infonnation for all symbols declared in the program -wn Do not generate warnings on uncasted pointer to pointer co nve rsions -d5 Same as -d4 and flush all registers at line boundari es -wo Make poinrer/inr conflicts gene rate warnings rathe r than errors -e Recognize extended character se t used in Asian-language applications -wp Generate a warning if a function is called withou t a prototype defllled -f Same as -flm (de fauh).
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages16 Page
-
File Size-