summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
09fb125)
;#define RAMSIZE 256*K*4 /* 1 chip 256Kx4 */
#define RAMSIZE 4*M*4 * 2 /* 2 chips 4Mx4 */
;#define RAMSIZE 256*K*4 /* 1 chip 256Kx4 */
#define RAMSIZE 4*M*4 * 2 /* 2 chips 4Mx4 */
-#define FAT16_SUPPORT 1 /* Include Support for FAT16 Partitions */
- /* which may contain CP/M image files. */
+#ifndef FAT16_SUPPORT
+ #define FAT16_SUPPORT 1 /* Include Support for FAT16 Partitions */
+#endif /* which may contain CP/M image files. */
#define RAMDISKCNT 0 /* Number of RAM disks */
#define RAMDISKNR 'I'-'A' /* Drive "letter" for first RAM disk */
#define RAMDISKCNT 0 /* Number of RAM disks */
#define RAMDISKNR 'I'-'A' /* Drive "letter" for first RAM disk */
; xh = memaddrh, xl = memaddrl
.macro mem_read_d
; xh = memaddrh, xl = memaddrl
.macro mem_read_d
.macro mem_read_ds
movw xl,@1l
.macro mem_read_ds
movw xl,@1l
; xh = memaddrh, xl = memaddrl, temp = srcreg
.macro mem_write
; xh = memaddrh, xl = memaddrl, temp = srcreg
.macro mem_write
.endm
;----------------------------------------------
.endm
;----------------------------------------------
.macro mem_write_s
mov temp,@0
.macro mem_write_s
mov temp,@0
.endm
;----------------------------------------------
.endm
;----------------------------------------------
.macro mem_write_ds
movw x,@0l
mov temp,@1
.macro mem_write_ds
movw x,@0l
mov temp,@1
; printstring "String"
.macro printstring
; printstring "String"
.macro printstring
+ .if FLASHEND > 0x0fff
+ call printstr
+ .else
+ rcall printstr
+ .endif
.if strlen(@0) % 2
.db @0,0
.else
.if strlen(@0) % 2
.db @0,0
.else