cleanup
[pyfrprog.git] / pkernel / Makefile
index ba893cf8f57da98aec00fb3702308a75e69035a1..ff044d80e7eb703548ef8c2ecbbce798aee3ddf2 100644 (file)
@@ -1,16 +1,15 @@
-# TODO: make upload, remove warnings
-
-# hinweise:
-# wenn folgende meldung kommt
+# note:
+# when this message appears on build
 #> "*** F9012D : tool execute is failed (fasm911s)"
-# per 'wine regedit' den string "Path" in
+# you have to set the "Path" environment var in wine.
+# start 'wine regedit' and create a string "Path" in
 #> HKEY_CURRENT_USER/Environment
-# setzen, naemlich auf die ausgabe von
+# and set it to the output of
 #> winepath $FUJDEV/Bin
-# natuerlich muss $FUJDEV richtig gesetzt sein!
+# consider you have to set $FUJDEV properly
 
 ifeq ($(strip $(FUJDEV)),)
-$(error "Set FUJDEV in your environment. Ususally this is the Rootpath of the Softune installer. You MUST NOT install it through wine.")
+$(error "Set FUJDEV in your environment. Ususally this is the Rootpath of the Softune installer package. You MUST NOT install it through wine.")
 endif
 
 PREFIX = wine $(FUJDEV)/Bin/
@@ -30,16 +29,14 @@ LDFLAGS = -AL 2
 LDFLAGS += -ra D_RAM=0x0002C000/0x0002FFFF
 LDFLAGS += -ra ID_RAM=0x00030000/0x00031FFF
 LDFLAGS += -ro ROM_AREA=0x00080000/0x000FFFFF
-LDFLAGS += -sc DATA/Data+INIT/Data+SSTACK/Data+USTACK/Data=D_RAM
-LDFLAGS += -sc IRAM/Code=ID_RAM
-LDFLAGS += -sc CODE+@INIT+@IRAM=ROM_AREA
-LDFLAGS += -sc CODE_START/Code=0x000F4000
+LDFLAGS += -sc DATA/Data+SSTACK/Data=D_RAM
+LDFLAGS += -sc CODE_START/Code+CODE=ID_RAM
 LDFLAGS += -check_locate -pl 60 -pw 132 -Xals
-LDFLAGS += -Xalr -na -w 1 -Xdof -Xset_rora -cwno -a $(CPUT)
+LDFLAGS += -Xalr -na -w 1 -Xdof -Xset_rora -Xcwno -a $(CPUT)
 
 LIBRFLAGS = -dt s,d,r,a -pl 60 -pw 132 -cwno $(CPUT)
 
-CONVFLAGS = -cwno -Xdof
+CONVFLAGS = -Xcwno -Xdof
 
 DEFINES =