Previous Next Contents Index
The error restarts & the ROM jumps

THE 'ERROR' RESTARTS
The following 32 routines consist each of a call to the DISCiPLE error routine
directly followed by the error byte.

2920 REP_0      RST  #20,DISC_ERR
2921            DEFB 0                   'Nonsense in GDOS'
2922 REP_1      RST  #20,DISC_ERR
2923            DEFB 1                   'Nonsense in GNOS'
2924 REP_2      RST  #20,DISC_ERR
2925            DEFB 2                   'Statement END error'
2926 REP_3      RST  #20,DISC_ERR
2927            DEFB 3                   'BREAK requested'
2928 REP_4      RST  #20,DISC_ERR
2929            DEFB 4                   ',SECTOR error'
292A REP_5      RST  #20,DISC_ERR
292B            DEFB 5                   'FORMAT data lost'
292C REP_6      RST  #20,DISC_ERR
292D            DEFB 6                   'NO DISC in drive'
292E REP_7      RST  #20,DISC_ERR
292F            DEFB 7                   'No "SYSTEM" file'
2930 REP_8      RST  #20,DISC_ERR
2931            DEFB 8                   'Invalid FILE NAME'
2932 REP_9      RST  #20,DISC_ERR
2933            DEFB 9                   'Invalid STATION'
2934 REP_10     RST  #20,DISC_ERR
2935            DEFB 10                  'Invalid DEVICE'
2936 REP_11     RST  #20,DISC_ERR
2937            DEFB 11                  'VARIABLE not found'
2938 REP_12     RST  #20,DISC_ERR
2939            DEFB 12                  'VERIFY failed'
293A REP_13     RST  #20,DISC_ERR
293B            DEFB 13                  'Wrong FILE type'
293C REP_14     RST  #20,DISC_ERR
293D            DEFB 14                  'MERGE error'
293E REP_15     RST  #20,DISC_ERR
293F            DEFB 15                  'CODE error'
2940 REP_16     RST  #20,DISC_ERR
2941            DEFB 16                  'PUPIL set'
2942 REP_17     RST  #20,DISC_ERR
2943            DEFB 17                  'Invalid CODE'
2944 REP_18     RST  #20,DISC_ERR
2945            DEFB 18                  'Reading a WRITE file'
2946 REP_19     RST  #20,DISC_ERR
2947            DEFB 19                  'Writing a READ file'
2948 REP_20     RST  #20,DISC_ERR
2949            DEFB 20                  'O.K. GDOS 3'
294A REP_21     RST  #20,DISC_ERR
294B            DEFB 21                  'Network OFF'
294C REP_22     RST  #20,DISC_ERR
294D            DEFB 22                  'Wrong DRIVE'
294E REP_23     RST  #20,DISC_ERR
294F            DEFB 23                  'Disc WRITE protected'
2950 REP_24     RST  #20,DISC_ERR
2951            DEFB 24                  'Not enough SPACE on disc'
2952 REP_25     RST  #20,DISC_ERR
2953            DEFB 25                  'Directory FULL'
2954 REP_26     RST  #20,DISC_ERR
2955            DEFB 26                  'File NOT FOUND'
2956 REP_27     RST  #20,DISC_ERR
2957            DEFB 27                  'END of file'
2958 REP_28     RST  #20,DISC_ERR
2959            DEFB 28                  'File NAME used'
295A REP_29     RST  #20,DISC_ERR
295B            DEFB 29                  'Not a MASTER station'
295C REP_30     RST  #20,DISC_ERR
295D            DEFB 30                  'STREAM used'
295E REP_31     RST  #20,DISC_ERR
295F            DEFB 31                  'CHANNEL used'

THE 'ROM JUMP' TABLE
The following jumps are used by routines located in RAM to CALL ROM routines without
'knowing' the exact address where the ROM routine is located. As long as all routines
use these jumps to access ROM routines no problems will arise with other ROM versions.

2960 JOPEN_N    JP   #39A9,OPEN_N
2963 JN_INPUT   JP   #3808,N_INPUT
2966 JN_OUTPUT  JP   #386D,N_OUTPUT
2969 JINPAK     JP   #3A87,INPAK
296C JOUTPAK    JP   #3ABC,OUTPAK
296F JNET_STATE JP   #39ED,NET_STATE
2972 JSEND_RESP JP   #3AB5,SEND_RESP
2975 JSEND_NEOF JP   #39DF,SEND_NEOF
2978 JFLASH_BOR JP   #3B17,FLASH_BORD
297B JBORD_REST JP   #3B21,BORD_REST
297E JDISC_BEEP JP   #3528,DISC_BEEP
2981 JCFSM      JP   #353C,CFSM
2984 JTEST_DRV  JP   #3099,TEST_DRV
2987 JTEST_DRV1 JP   #309C,TEST_DRV1
298A JTEST_Y    JP   #3513,TEST_Y
298D JFRMT_RUN  JP   #35E9,FRMT_RUN
2990 JD_ERROR   JP   #3CBC,D_ERROR
2993 JSCAN_CAT  JP   #335B,SCAN_CAT
2996 JMK_ALLOC  JP   #32DE,MK_ALLOC
2999 JHL_BUFFER JP   #37C3,HL_BUFFER
299C JHGFLE_2   JP   #358D,HGFLE_2
299F JLOAD_1ST  JP   #35C2,LOAD_1ST
29A2 JLBYT      JP   #3126,LBYT
29A5 JLOAD_FILE JP   #3145,LOAD_FILE
29A8 JOFSM_2    JP   #3496,OFSM_2
29AB JSURE_MSG  JP   #3C9B,SURE_MSG
29AE JPRT_A     JP   #3C2C,PRT_A
29B1 JPRT_NUM   JP   #3BDF,PRT_NUM
29B4 JRPT_HL    JP   #37D0,RPT_HL
29B7 JPRT_MSG   JP   #3C11,PRT_MSG
29BA JREST      JP   #3030,REST
29BD JRSAD      JP   #2F4F,RSAD
29C0 JLD_COMREG JP   #3085,LD_COMREG
29C3 JSBYT      JP   #3108,SBYT
29C6 JSLCT_DRV  JP   #30B3,SET_DRVSD
29C9 JHSVBK_2   JP   #3204,HSVBK_2
29CC JDRV_CAP   JP   #333B,DRV_CAP
29CF JWSAD      JP   #2F04,WSAD
Previous Next Contents Index