-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
79 lines (66 loc) · 4.15 KB
/
config.toml
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
############################################################################################################
# Configuration file for the emulator. #
# This file is loaded by the emulator to understand how to configure the system. #
############################################################################################################
# -------------------------------------------- GENERAL SETUP --------------------------------------------- #
[emulator]
pseudo_bdos_enabled = false # Redirect and handle calls that match addresses of BDOS calls.
start_with_pc_at = 0xF800 # Start the program counter at this address. Note that this bypasses the reset vector. 0 or comment to disable.
############################################################################################################
# List of cards here, make sure to append cards you wish to add. Available parameters are: #
# - slot: Slot number of the card [0, 18], which also determines IRQ priority (lower is higher priority). #
# - type: Type of the card. Available types are: "ram", "rom", "serial". #
# - load: Path to the file to load into the card. Only for "ram" or "rom" type. #
# (you can omit this if using range, as it will automatically set the closest bigger power of 2 size) #
# - at: Address of the card in the memory space. #
# - range: Size or address range (like I/O register count) of the card in bytes. #
# (you can omit this if using load) #
# - let_collide: Allow the card to have overlapping address range with other cards. #
# #
# IMPORTANT: cards can be de/activated by the IOR/IOW signal according to them being memory or I/O, so #
# you might not need to enable overlapping, as overlap of I/O and memory is expected. #
# Only use this in case of overlap of the same type of card (e.g. two RAM cards). #
# #
# Note: there is (usually) a limit of 18 cards in the system. Lower slot number means higher IRQ priority. #
# #
# Note: you can use load, range or both to load a rom and fill unused extra with zeros, at least one of #
# them must be present. #
############################################################################################################
# -------------------------------------------- CP/M ROM CARDS -------------------------------------------- #
[[card]] # ALTMON 1K ROM Monitor (it's still a bit over 1024 bytes)
slot = 0
type = "ram"
at = 0xF800
load = "static/f800mon.bin"
# [[card]] # CP/M 2.2 BIOS
# slot = 0
# type = "rom"
# at = 0x0000
# load = "static/bios22.bin"
# [[card]] # CP/M 2.2 BDOS
# slot = 1
# type = "rom"
# at = 0x8000
# load = "static/bdos22.bin"
# [[card]] # CP/M 2.2 CCP
# slot = 2
# type = "rom"
# at = 0xC000
# load = "static/ccp22.bin"
# ------------------------------------------ I/O HARDWARE CARDS ------------------------------------------ #
[[card]] # 88-SIO serial interface
slot = 10
type = "serial"
at = 0x10
# -------------------------------------------- SOFTWARE CARDS -------------------------------------------- #
[[card]] # Diagnostics II expects to be loaded in RAM
slot = 3
type = "ram"
at = 0x0100
load = "tests/res/diag2.com"
[[card]] # Cover all memory space with RAM just in case
slot = 17
type = "ram"
at = 0x0000
range = 65536
let_collide = true