Changeset 3148e92 in thomson
- Timestamp:
- Mar 26, 2013, 11:08:20 PM (11 years ago)
- Branches:
- main
- Children:
- 6a7f7f1
- Parents:
- 1180ce9
- Location:
- code/C/HxCHost
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/C/HxCHost/Makefile
r1180ce9 r3148e92 17 17 18 18 # System settings ----------------------------------------------- 19 PREFIX=m6809-thomson 19 PREFIX=m6809-thomson-none 20 20 CC=$(PREFIX)-gcc 21 21 AS=$(PREFIX)-as 22 LIBPATH=$(shell dirname `which m6809-thomson-none-gcc`)/../lib/gcc/m6809-thomson-none/4.6.1/ 22 23 23 24 # Generic rules ------------------------------------------------- 24 25 # HFE disk image (for HxC FE) 25 out_sap.hfe: out.sap 26 hxcfloppyemulator_convert out.sap -HFE 27 cp out_sap.hfe /mo5/MO5/ 28 unmount /mo5 29 rm -r /mo5 26 AUTOBOOT.HFE: out.sap 27 hxcfe -finput:out.sap -conv:HXC_HFE -foutput:AUTOBOOT.HFE 30 28 31 29 # Disk Image 32 30 out.sap: TEST.BIN 33 sapfs -c$@31 cp DOS-MO.SAP $@ 34 32 sapfs -a $@ $< 35 33 … … 37 35 TEST.BIN TEST.map: $(OBJECTS) TEST.script 38 36 #$(CC) -v -Os $(OBJECTS) -o TEST.BIN -Wl,--map -Wl,-m -Wl,-Ttext,0x6100 -nostdlib -lgcc 39 lwlink --decb $(OBJECTS) --output=TEST.BIN --map=TEST.map --script=TEST.script --library-path= /boot/home/config/lib/gcc/m6809-thomson/4.6.1--library-path=/boot/home/config/m6809-thomson/lib -lgcc37 lwlink --decb $(OBJECTS) --output=TEST.BIN --map=TEST.map --script=TEST.script --library-path=$(LIBPATH) --library-path=/boot/home/config/m6809-thomson/lib -lgcc 40 38 41 39 #Compiling -
code/C/HxCHost/pff/diskio.c
r1180ce9 r3148e92 103 103 { 104 104 static WORD ptr; 105 static char wrbuf[ 256];105 static char wrbuf[512]; 106 106 // Separate buffer because we need to use map_sector, and it kills secbuf 107 107 … … 131 131 ++ptr; 132 132 } 133 mon_putc(' ');134 133 } 135 134
Note:
See TracChangeset
for help on using the changeset viewer.