replaced 65sdl with fes
This commit is contained in:
parent
ec55c469ce
commit
f902caa76f
8
Rakefile
8
Rakefile
|
@ -15,8 +15,8 @@ task :default do
|
|||
thread_print`cd src; rake`
|
||||
thread_print'Leaving directory src'
|
||||
`mkdir -p bin test`
|
||||
thread_print' CP bin/65db bin/65sdl'
|
||||
`cp -p src/65db src/65sdl bin`
|
||||
thread_print' CP bin/65db bin/fes'
|
||||
`cp -p src/65db src/fes bin`
|
||||
thread_print' CP test/*.nes'
|
||||
`cp -p src/test/*.nes test`
|
||||
end
|
||||
|
@ -25,6 +25,6 @@ task :clean do
|
|||
thread_print'Entering directory src'
|
||||
thread_print`cd src; rake clean`
|
||||
thread_print'Leaving directory src'
|
||||
thread_print" RM bin/65db bin/65sdl test/*.nes"
|
||||
`rm bin/65db bin/65sdl test/*.nes`
|
||||
thread_print" RM bin/65db bin/fes test/*.nes"
|
||||
`rm bin/65db bin/fes test/*.nes`
|
||||
end
|
||||
|
|
|
@ -10,7 +10,7 @@ A 6502 CPU emulator/simulator with ncurses UI. Includes implementations using vi
|
|||
|
||||
`./65 FILE.NES`
|
||||
|
||||
`./65sdl FILE.NES`
|
||||
`./fes FILE.NES`
|
||||
|
||||
#### Building
|
||||
|
||||
|
|
10
src/Rakefile
10
src/Rakefile
|
@ -25,7 +25,7 @@ $stdout_mutex=Mutex.new
|
|||
# Rules
|
||||
# -----------------------------
|
||||
|
||||
task :default => [:_65db, :_65sdl, :test] do
|
||||
task :default => [:_65db, :_fes, :test] do
|
||||
|
||||
end
|
||||
|
||||
|
@ -39,9 +39,9 @@ task :_65db => [:lib65] do
|
|||
`cc -o 65db #{$CFLAGS} 65db.c lib65.a #{$LDFLAGS}`
|
||||
end
|
||||
|
||||
task :_65sdl => [:objs] do
|
||||
thread_print" CC\t65sdl"
|
||||
`cc -o 65sdl #{$CFLAGS} #{$SDL2_CFLAGS} 65sdl.c sdl.c pa.c lib65.a #{$LDFLAGS} #{$SDL2_LDFLAGS}`
|
||||
task :_fes => [:objs] do
|
||||
thread_print" CC\tfes"
|
||||
`cc -o fes #{$CFLAGS} #{$SDL2_CFLAGS} fes.c ppu.c sdl.c pa.c lib65.a #{$LDFLAGS} #{$SDL2_LDFLAGS}`
|
||||
end
|
||||
|
||||
task :test do
|
||||
|
@ -55,5 +55,5 @@ task :objs do
|
|||
end
|
||||
|
||||
task :clean do
|
||||
clean '65db 65sdl lib65.a *.o test/*.nes'.split
|
||||
clean '65db fes lib65.a *.o test/*.nes'.split
|
||||
end
|
||||
|
|
|
@ -11,7 +11,7 @@ EXTRN __imp_CreateProcessA:PROC
|
|||
EXTRN __imp_GetStartupInfoA:PROC
|
||||
|
||||
_DATA SEGMENT
|
||||
cmd DB 'bin/65sdl.exe test/vram.nes',0
|
||||
cmd DB 'bin/fes.exe test/vram.nes',0
|
||||
_DATA ENDS
|
||||
|
||||
_TEXT SEGMENT
|
||||
|
|
|
@ -5,7 +5,7 @@ require'../include.rb'
|
|||
# -----------------------------
|
||||
$AS65 = 'xa'
|
||||
$CC = 'cc'
|
||||
$OBJS = 'int2ascii.nes asciitest.nes vram.nes div.nes'
|
||||
$OBJS = 't.nes int2ascii.nes asciitest.nes vram.nes div.nes'
|
||||
|
||||
$stdout_mutex=Mutex.new
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user