Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Konamiman committed Nov 1, 2023
1 parent fd5631e commit 1de0e55
Show file tree
Hide file tree
Showing 3 changed files with 424 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/kernel/bank4/partit.mac
Expand Up @@ -23,7 +23,7 @@ POFF_PSTART equ 8 ;Offset of partition start in p. table entry
POFF_PSIZE equ 12 ;Offset of partition size in p. table entry
PT_FAT12 equ 1 ;Partition type code for FAT12
PT_FAT16_S equ 4 ;Partition type code for FAT16 (< 32M)
PT_EXT equ 5 ;Partition type code for extended partition
PT_EXT equ 5 ;Partition type code for extended partition (CHS)
PT_EXT_LBA equ 15 ;Partition type code for extended partition (LBA)
PT_FAT16 equ 6 ;Partition type code for FAT16
PT_FAT16_L equ 14 ;Partition type code for FAT16 (LBA)
Expand Down
7 changes: 7 additions & 0 deletions source/tools/C/buildeptcft
@@ -0,0 +1,7 @@
#!/bin/bash
set -e
sdcc --code-loc 0x180 --data-loc 0 -mz80 --disable-warning 85 --disable-warning 196 --no-std-crt0 crt0_msxdos_advanced.rel eptcft.c
objcopy -I ihex -O binary eptcft.ihx eptcft.com
sudo mount -o loop,uid=konamiman,gid=konamiman /mnt/d/Dropbox/Dropbox/MSX/msxdos/discosa.dsk ~/floppy
cp eptcft.com ~/floppy
sudo umount ~/floppy

0 comments on commit 1de0e55

Please sign in to comment.