-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbasic.asm
More file actions
55 lines (45 loc) · 1.97 KB
/
Copy pathbasic.asm
File metadata and controls
55 lines (45 loc) · 1.97 KB
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
; // SE Basic IV 4.2 Cordelia - A classic BASIC interpreter for the Z80 architecture.
; // Copyright (c) 1999-2024 Source Solutions, Inc.
; // SE Basic IV is free software: you can redistribute it and/or modify
; // it under the terms of the GNU General Public License as published by
; // the Free Software Foundation, either version 3 of the License, or
; // (at your option) any later version.
; //
; // SE Basic IV is distributed in the hope that it will be useful,
; // but WITHOUT ANY WARRANTY; without even the implied warranty o;
; // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; // GNU General Public License for more details.
; //
; // You should have received a copy of the GNU General Public License
; // along with SE Basic IV. If not, see <http://www.gnu.org/licenses/>.
; // This source is compatible with RASM
; // (http://www.cpcwiki.eu/forum/programming/rasm-z80-assembler-in-beta/)
include "basic.inc"; // label definitions and X80 instruction set
; slam equ 1; // uncomment to build SLAM+128/divMMC version
; // export program in separate ROM and RAM segments
save "../bin/basic.rom", 0, 16384
save "../boot/basic.bin", 16384, 7168
save "../bin/23.bin", 0, 23552
; // modules
include "modules/01_restarts.asm"
include "modules/02_tokenizer.asm"
include "modules/03_keyboard.asm"
include "modules/04_se-os.asm"
include "modules/05_preprocessor.asm"
include "modules/06_screen_0.asm"
include "modules/07_editor.asm"
include "modules/08_executive.asm"
include "modules/09_command.asm"
include "modules/10_expression.asm"
include "modules/11_arithmentic.asm"
include "modules/12_calculator.asm"
include "modules/13_data.asm"
include "modules/14_screen_1.asm"
include "modules/15_files.asm"
include "modules/16_audio.asm"
include "modules/17_messages.asm"
; // last byte
org $5bb9;
defb $A0; // end marker
; // this will be overwritten with system variables
defb "The supreme art of war is to subdue the enemy without fighting-Sun Tzu";