Skip to content

Commit

Permalink
Cleanup and making it work again
Browse files Browse the repository at this point in the history
  • Loading branch information
justburn committed Mar 13, 2016
1 parent c5f0bff commit ad7698c
Show file tree
Hide file tree
Showing 443 changed files with 76,700 additions and 33,793 deletions.
Binary file added 8x8font.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 18 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ KICKSTARTSRCS=kickstart.a65 \
kickstart_task.a65 \
kickstart_mem.a65

UNAME := $(@shell uname)
ifeq ($(UNAME),MINGW32_NT-6.1)
# Unlikely anyone uses Windows 9x anymore
ifeq ($(OS),Windows_NT)
SOCKLIBS = -l ws2_32
else
SOCKLIBS =
endif

fpga: kickstart.vhdl \
charrom.vhdl

all: ghdl-frame-gen \
diskmenu.prg \
kickstart65gs.bin \
makerom \
container.prj \
thumbnail.prg \
tests/textmodetest.prg \
gs4510.vhdl viciv.vhdl \
etherload etherkick

ethertest.prg: ethertest.a65 Makefile
Expand All @@ -41,7 +43,8 @@ diskchooser: diskchooser.a65 etherload.prg Makefile
version.a65: *.vhdl *.a65 *.vhd Makefile
./version.sh

kickstart65gs.bin: $(KICKSTARTSRCS) Makefile diskmenu_c000.bin version.a65
# diskmenu_c000.bin yet b0rken
kickstart65gs.bin: $(KICKSTARTSRCS) Makefile diskchooser version.a65
../Ophis/bin/ophis -4 kickstart.a65 -l kickstart.list

diskmenu_c000.bin: diskmenuc000.a65 diskmenu.a65 etherload.prg
Expand Down Expand Up @@ -76,7 +79,7 @@ etherload: etherload.c
gcc -Wall -g -o etherload etherload.c $(SOCKLIBS)

etherkick: etherkick.c
gcc -Wall -g -o etherkick etherkick.c
gcc -Wall -g -o etherkick etherkick.c $(SOCKLIBS)

iomap.txt: *.vhdl Makefile
egrep "IO:C6|IO:GS" *.vhdl | cut -f3- -d: | sort -u -k2 > iomap.txt
Expand Down Expand Up @@ -152,3 +155,13 @@ charrom.vhdl: pngprepare 8x8font.png

BOOTLOGO.G65: pngprepare mega65_64x64.png
./pngprepare logo mega65_64x64.png BOOTLOGO.G65

clean:
rm -f *.gise *.bgn *.bld *.cmd_log *.drc *.lso *.ncd *.ngc *.ngd *.ngr *.pad *.par *.pcf *.ptwx *.stx *.syr *.twr *.twx *.unroutes *.ut *.xpi *.xst *.xwbt
rm -f *.map *.mrp *.psr *.xrpt *.csv *.list *.log *.xml
rm -f container_summary.* container_usage.* usage_statistics_webtalk.* par_usage_statistics.*
rm -f ipcore_dir/*.asy ipcore_dir/*.gise ipcore_dir/*.ncf ipcore_dir/*.sym ipcore_dir/*.xdc
rm -f ipcore_dir/*.cgp ipcore_dir/*.txt ipcore_dir/*.log

cleangen:
rm kickstart.vhdl charrom.vhdl kickstart65gs.bin
94 changes: 0 additions & 94 deletions Ophis-2.0-standalone/lib/Ophis/CmdLine.py

This file was deleted.

Loading

0 comments on commit ad7698c

Please sign in to comment.