mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2025-01-01 01:30:46 +00:00
add KickC target configuration files
This commit is contained in:
parent
8267d542d2
commit
c0b5a36af1
6
kickc/apple1.ld
Normal file
6
kickc/apple1.ld
Normal file
@ -0,0 +1,6 @@
|
||||
// Apple 1
|
||||
.file [name="%O", type="prg", segments="Program"]
|
||||
.segmentdef Program [segments="Code, Data"]
|
||||
.segmentdef Code [start=%P,outBin="apple1_codeseg.bin"]
|
||||
.segmentdef Data [start=$0280,min=$0280,max=$0fff,outBin="apple1_dataseg.bin"]
|
||||
|
11
kickc/apple1.tgt
Normal file
11
kickc/apple1.tgt
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"extension": "prg",
|
||||
"link": "apple1.ld",
|
||||
"start_address": "0x2000",
|
||||
"cpu": "MOS6502X",
|
||||
"interrupt": "hardware_all",
|
||||
"emulator": "x64sc"
|
||||
}
|
||||
|
||||
|
||||
|
8
kickc/vic20_8k.ld
Normal file
8
kickc/vic20_8k.ld
Normal file
@ -0,0 +1,8 @@
|
||||
// Commodore VIC 20 8k executable PRG file
|
||||
.file [name="%O", type="prg", segments="Program"]
|
||||
.segmentdef Program [segments="Basic, Code, Data"]
|
||||
.segmentdef Basic [start=$1201]
|
||||
.segmentdef Code [start=%P]
|
||||
.segmentdef Data [startAfter="Code"]
|
||||
.segment Basic
|
||||
:BasicUpstart(%E)
|
12
kickc/vic20_8k.tgt
Normal file
12
kickc/vic20_8k.tgt
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Commodore VIC 20 8K executable PRG file",
|
||||
"extension": "prg",
|
||||
"link": "vic20_8k.ld",
|
||||
"start_address": "0x120d",
|
||||
"cpu": "MOS6502X",
|
||||
"interrupt": "rom_min_vic20",
|
||||
"emulator": "xvic",
|
||||
"defines": {
|
||||
"__VIC20__": 1
|
||||
}
|
||||
}
|
@ -3,11 +3,11 @@
|
||||
@SET TARGET=%1
|
||||
|
||||
@echo ======================== VIC20 ===================================================
|
||||
call kickc -t VIC20_8K -D=VIC20 %TARGET%.c -o out\%TARGET%_vic20.prg -e
|
||||
call kickc -t ..\kickc\VIC20_8K -D=VIC20 %TARGET%.c -o out\%TARGET%_vic20.prg -e
|
||||
copy out\%TARGET%.prg out\%TARGET%_vic20.prg
|
||||
|
||||
@echo ======================== APPLE 1 =================================================
|
||||
call kickc -t apple1 -D=APPLE1 %TARGET%.c -o out\%TARGET%_apple1.prg -e
|
||||
call kickc -t ..\kickc\apple1 -D=APPLE1 %TARGET%.c -o out\%TARGET%_apple1.prg -e
|
||||
|
||||
@rem builds the apple1 eprom file
|
||||
call node ..\tools\mkeprom out out\%TARGET%_apple1.bin
|
||||
|
Loading…
Reference in New Issue
Block a user