- Timestamp:
- 07/10/2017 09:06:56 PM (7 years ago)
- Branches:
- master
- Children:
- 4aa78b2
- Parents:
- 526a993
- Location:
- rom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rom/romp.c
r526a993 r2340de6 70 70 #define ROMADDR 0x00100000L 71 71 72 #define MAXFNLN 13 /* xxxxxxxx.xxx + CR */73 #define MAXARGLN 80 /* maximum argument length */74 #define MAXCMDLN 128 /* maximum command line length */75 #define MAXHS 80 /* maximum help string length */76 #define MAXID 90 /* maximum ID string length */77 78 #define PDATELN 1479 72 #define PRM_DATE 0x0100008L 80 73 #define PRM_VERS 0x0100002L -
rom/romp.x
r526a993 r2340de6 10 10 #include "setjmp.h" 11 11 #include "stdint.h" 12 13 #define MAXFNLN 13 /* xxxxxxxx.xxx + CR */ 14 #define MAXARGLN 80 /* maximum argument length */ 15 #define MAXCMDLN 128 /* maximum command line length */ 16 #define MAXHS 80 /* maximum help string length */ 17 #define MAXID 90 /* maximum ID string length */ 18 19 #define PDATELN 14 12 20 13 21 /* … … 23 31 extern int16_t argln; 24 32 extern int8_t argsep; 25 extern int8_t argstr[ 80 +1];33 extern int8_t argstr[MAXARGLN+1]; 26 34 extern int16_t asig; 27 35 extern int16_t astat; … … 32 40 extern uint16_t baron; 33 41 extern int16_t baseled; 34 extern int8_t bfname[ 13 +1];35 extern int8_t cmdline[ 128 +1];42 extern int8_t bfname[MAXFNLN+1]; 43 extern int8_t cmdline[MAXCMDLN+1]; 36 44 extern int16_t cmdunit; 37 45 extern int8_t *d_cur; … … 43 51 extern int32_t ftimer; 44 52 extern int16_t goflag; 45 extern int8_t hs_mtst[ 80 +1];46 extern int8_t idbuf[ 90 +1];53 extern int8_t hs_mtst[MAXHS+1]; 54 extern int8_t idbuf[MAXID+1]; 47 55 extern int16_t ilast; 48 56 extern int16_t inext; … … 63 71 extern int32_t p_value; 64 72 extern int32_t p_width; 65 extern int8_t promdate[ 14 +1];73 extern int8_t promdate[PDATELN+1]; 66 74 extern int16_t redo; 67 75 extern struct regs *regptr;
Note:
See TracChangeset
for help on using the changeset viewer.