Kernel: remove remaining uzi references
authorAlan Cox <alan@linux.intel.com>
Thu, 1 Jan 2015 14:03:46 +0000 (14:03 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 1 Jan 2015 14:03:46 +0000 (14:03 +0000)
In particular we don't want any escaped UZI defines floating around in case
we try and create any shared tools/libs with UZI180 or similar.

19 files changed:
Kernel/Makefile
Kernel/platform-6502test/Makefile
Kernel/platform-micropack/fuzix.lnk [moved from Kernel/platform-micropack/uzi.lnk with 97% similarity]
Kernel/platform-msx1/fuzix.lnk [moved from Kernel/platform-msx1/uzi.lnk with 98% similarity]
Kernel/platform-msx2/fuzix.lnk [moved from Kernel/platform-msx2/uzi.lnk with 98% similarity]
Kernel/platform-mtx/fuzix.lnk [moved from Kernel/platform-mtx/uzi.lnk with 98% similarity]
Kernel/platform-n8vem-mark4/fuzix.lnk [moved from Kernel/platform-n8vem-mark4/uzi.lnk with 98% similarity]
Kernel/platform-nc100/fuzix.lnk [moved from Kernel/platform-nc100/uzi.lnk with 97% similarity]
Kernel/platform-p112/fuzix.lnk [moved from Kernel/platform-p112/uzi.lnk with 97% similarity]
Kernel/platform-pcw8256/fuzix.lnk [moved from Kernel/platform-pcw8256/uzi.lnk with 98% similarity]
Kernel/platform-px4plus/fuzix.lnk [moved from Kernel/platform-px4plus/uzi.lnk with 98% similarity]
Kernel/platform-socz80/fuzix.lnk [moved from Kernel/platform-socz80/uzi.lnk with 98% similarity]
Kernel/platform-trs80/fuzix.lnk [moved from Kernel/platform-trs80/uzi.lnk with 97% similarity]
Kernel/platform-ubee/fuzix.lnk [moved from Kernel/platform-ubee/uzi.lnk with 97% similarity]
Kernel/platform-z80pack-lite/fuzix.lnk [moved from Kernel/platform-z80pack-lite/uzi.lnk with 98% similarity]
Kernel/platform-z80pack/fuzix.lnk [moved from Kernel/platform-z80pack/uzi.lnk with 97% similarity]
Kernel/platform-z80pack32/fuzix.lnk [moved from Kernel/platform-z80pack32/uzi.lnk with 97% similarity]
Kernel/platform-zx128/fuzix.lnk [moved from Kernel/platform-zx128/uzi.lnk with 97% similarity]
Kernel/process.c

index ce277ee..a2a3430 100644 (file)
@@ -142,6 +142,10 @@ version.c: makeversion
 
 tools/analysemap: tools/analysemap.c
 
+tools/bihx: tools/bihx.c
+
+tools/binmunge: tools/binmunge.c
+
 tools/memhogs: tools/analysemap
        cp tools/analysemap tools/memhogs
 
@@ -164,16 +168,16 @@ cpm-loader/cpmload.bin:   cpm-loader/cpmload.s cpm-loader/makecpmloader.c
 tools/makejv3: tools/makejv3.c
 
 ifneq (,$(filter $(CPU),z80 z180)) # matches CPU = z80 or z180
-uzi.ihx: target $(OBJS) platform-$(TARGET)/uzi.lnk
-       $(CROSS_LD) -n -k $(LIBZ80) -f platform-$(TARGET)/uzi.lnk
+fuzix.ihx: target $(OBJS) platform-$(TARGET)/fuzix.lnk
+       $(CROSS_LD) -n -k $(LIBZ80) -f platform-$(TARGET)/fuzix.lnk
 
-fuzix.bin: uzi.ihx tools/analysemap tools/memhogs tools/binman tools/bintomdv cpm-loader/cpmload.bin
-       tools/analysemap <uzi.map
+fuzix.bin: fuzix.ihx tools/analysemap tools/memhogs tools/binman tools/bintomdv cpm-loader/cpmload.bin
+       tools/analysemap <fuzix.map
        -cp hogs.txt hogs.txt.old
-       tools/memhogs <uzi.map |sort -nr >hogs.txt
+       tools/memhogs <fuzix.map |sort -nr >hogs.txt
        head -5 hogs.txt
-       makebin -s 65536 -p uzi.ihx >uzi.tmp
-       tools/binman uzi.tmp uzi.map fuzix.bin
+       makebin -s 65536 -p fuzix.ihx >fuzix.tmp
+       tools/binman fuzix.tmp fuzix.map fuzix.bin
        +make -C platform-$(TARGET) image
 else
 fuzix.bin: target $(OBJS) tools/decbdragon
@@ -181,7 +185,7 @@ fuzix.bin: target $(OBJS) tools/decbdragon
 endif
 
 clean:
-       rm -f $(OBJS) $(JUNK) uzi.cdb uzi.com uzi.tmp platform fuzix.bin uzi.map uzi.noi uzi.ihx core *~ include/*~ version.c tools/make4x6 tools/analysemap tools/memhogs tools/binman hogs.txt hogs.txt.old tools/*~
+       rm -f $(OBJS) $(JUNK) fuzix.cdb fuzix.com fuzix.tmp platform fuzix.bin fuzix.map fuzix.noi fuzix.ihx core *~ include/*~ version.c tools/make4x6 tools/analysemap tools/memhogs tools/binman hogs.txt hogs.txt.old tools/*~
        +make -C platform-$(TARGET) clean
        +make -C cpm-loader clean
 
index 4996fbc..818cf0e 100644 (file)
@@ -23,7 +23,7 @@ clean:
        rm -f $(OBJS) $(JUNK)  core *~ 
 
 image:
-       $(CROSS_LD) -o ../fuzix.bin --mapfile ../uzi.map -C ld65.cfg crt0.o commonmem.o \
+       $(CROSS_LD) -o ../fuzix.bin --mapfile ../fuzix.map -C ld65.cfg crt0.o commonmem.o \
        p6502.o ../start.o ../version.o ../lowlevel-6502.o \
        tricks.o main.o ../timer.o ../kdata.o devrd.o devices.o \
        ../devio.o ../filesys.o ../process.o ../inode.o ../syscall_fs.o \
similarity index 97%
rename from Kernel/platform-micropack/uzi.lnk
rename to Kernel/platform-micropack/fuzix.lnk
index 5388962..58c63de 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _DISCARD=0x5000
 -b _UDATA=0x5D00
 -b _CODE=0x6000
similarity index 98%
rename from Kernel/platform-msx1/uzi.lnk
rename to Kernel/platform-msx1/fuzix.lnk
index 5fbc00b..2310dae 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0000
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 98%
rename from Kernel/platform-msx2/uzi.lnk
rename to Kernel/platform-msx2/fuzix.lnk
index b4ad701..bfb5a28 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0000
 -b _BOOT=0x4000
 -b _COMMONMEM=0xF000
similarity index 98%
rename from Kernel/platform-mtx/uzi.lnk
rename to Kernel/platform-mtx/fuzix.lnk
index 2310247..fe78f67 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0100
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xD800
similarity index 98%
rename from Kernel/platform-n8vem-mark4/uzi.lnk
rename to Kernel/platform-n8vem-mark4/fuzix.lnk
index 31c4371..81b5c5e 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0088
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 97%
rename from Kernel/platform-nc100/uzi.lnk
rename to Kernel/platform-nc100/fuzix.lnk
index 064f004..4fbccf0 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 97%
rename from Kernel/platform-p112/uzi.lnk
rename to Kernel/platform-p112/fuzix.lnk
index 73e8928..10794c7 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0088
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 98%
rename from Kernel/platform-pcw8256/uzi.lnk
rename to Kernel/platform-pcw8256/fuzix.lnk
index 3b60596..cc5e6d0 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0000
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 98%
rename from Kernel/platform-px4plus/uzi.lnk
rename to Kernel/platform-px4plus/fuzix.lnk
index 3d08458..f3763ef 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _DISCARD=0x4000
 -b _UDATA=0xFD00
 -b _CODE=0x6000
similarity index 98%
rename from Kernel/platform-socz80/uzi.lnk
rename to Kernel/platform-socz80/fuzix.lnk
index 3bb37ca..550628f 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0088
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 97%
rename from Kernel/platform-trs80/uzi.lnk
rename to Kernel/platform-trs80/fuzix.lnk
index 33854f5..fb6e78d 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0100
 -b _DISCARD=0xD000
 -b _COMMONMEM=0xE800
similarity index 97%
rename from Kernel/platform-ubee/uzi.lnk
rename to Kernel/platform-ubee/fuzix.lnk
index b678a97..b7a0f5d 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0100
 -b _DISCARD=0xD000
 -b _COMMONMEM=0xE800
similarity index 98%
rename from Kernel/platform-z80pack-lite/uzi.lnk
rename to Kernel/platform-z80pack-lite/fuzix.lnk
index 0d41e0d..e2e2595 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0088
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 97%
rename from Kernel/platform-z80pack/uzi.lnk
rename to Kernel/platform-z80pack/fuzix.lnk
index 672ff64..bad85c7 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0088
 -b _COMMONMEM=0xF000
 -b _DISCARD=0xE000
similarity index 97%
rename from Kernel/platform-z80pack32/uzi.lnk
rename to Kernel/platform-z80pack32/fuzix.lnk
index 9f6e996..5b699d3 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0088
 -b _CODE3=0xC000
 -b _COMMONMEM=0xF000
similarity index 97%
rename from Kernel/platform-zx128/uzi.lnk
rename to Kernel/platform-zx128/fuzix.lnk
index a0c6d6b..2fcc88b 100644 (file)
@@ -1,5 +1,5 @@
 -mwxuy
--i uzi.ihx
+-i fuzix.ihx
 -b _CODE=0x0000
 -b _COMMONMEM=0x5B00
 -b _CODE2=0xC000
index 0b87669..7ced59c 100644 (file)
@@ -387,7 +387,7 @@ void unix_syscall(void)
        /* Fuzix saves the Stack Pointer and arguments in the
         * Assembly Language Function handler in lowlevel.s
         */
-       if (udata.u_callno >= UZI_SYSCALL_COUNT) {
+       if (udata.u_callno >= FUZIX_SYSCALL_COUNT) {
                udata.u_error = EINVAL;
        } else {
 #ifdef DEBUG