-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rules.launch
83 lines (66 loc) · 1.02 KB
/
Rules.launch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*-makefile-*-
BPE=/fun/jaguar/BigPEmu/BigPEmu.exe
JAGGD=/bin/jaggd.exe
VJ=/fun/jaguar/virtualjaguar_2.1.3/virtualjaguar.exe
MACOS=@prlexec --vm "Windows 11" -r
ifeq ($(findstring aarch64,$(MACHTYPE)),aarch64)
override BPE:=$(MACOS) $(BPE)
override JAGGD:=jaggd
override VJ:=$(MACOS) $(VJ)
endif
#
# SKUNK
#
.PHONY: reset
reset:
jcp -r
wait
.PHONY: flash
flash: $(DEMO).j64
jcp -ef $<
.PHONY: upload
.ONESHELL:
upload: $(DEMO).cof
@jcp -q $< 0x4000
#
# JagGD
#
.PHONY: jaggd
jaggd: $(DEMO).cof
$(JAGGD) -rd -ux $<
#,a:0x4000,x:0x4000
.PHONY: jaggd_rom
jaggd_romn: $(DEMO).rom
$(JAGGD) -rd -ux $<,a:0x802000,x:0x802000
#
# VirtualJaguar
#
.PHONY: vjd
vjd: $(DEMO).cof
$(VJ) -D $<
.PHONY: vj
vj: $(DEMO).cof
$(VJ) $< &
.PHONY: vj_rom
vjd_rom: $(DEMO).j64
ifeq ($(BIOS),1)
$(VJ) -D -b $< &
else
$(VJ) -D $< &
endif
.PHONY: vj_rom
vj_rom: $(DEMO).j64
ifeq ($(BIOS),1)
$(VJ) -b $< &
else
$(VJ) $< &
endif
#
# BigPEmu
#
bpe: $(DEMO).cof
$(BPE) $< -devmode &
true
bpe_rom: $(DEMO).j64
$(BPE) $< -devmode &
true