annotate 3rdparty/packages/basic09/makefile @ 3054:22ddd48b4ec2

level1 krn: Fix scheduler bug that only affected 6309 The original 6809 binary was correct, but it was disassembled and interpreted wrongly, so that reassembly went wrong on 6309.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 25 Jan 2015 22:36:02 +0100
parents 13885d9433d5
children dd553bb32ebb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2054
2da2577ac7b7 Updated for new structure
boisy
parents: 1407
diff changeset
1 include $(NITROS9DIR)/rules.mak
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
2
2968
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
3 DSK = basic09v010100.dsk
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
4
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
5 # NitrOS-9
2669
53c42701f680 More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2509
diff changeset
6 H6309 = $(AFLAGS) -DH6309=1
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
7 # Non-NitrOS-9
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
8 M6809 = $(AFLAGS)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
9
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
10 DEPENDS = ./makefile
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
11
2968
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
12 TEXTFILES = ReadMe install6809 install6309
668
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
13 OBJS = gfx gfx2 inkey syscall
659
0e6a4a6486a0 I've learned now that syscall does NOT change for either 6809 or 6309
boisy
parents: 558
diff changeset
14 OBJS6809 = basic09_6809 runb_6809
0e6a4a6486a0 I've learned now that syscall does NOT change for either 6809 or 6309
boisy
parents: 558
diff changeset
15 OBJS6309 = basic09_6309 runb_6309
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
16 ALLOBJS = $(OBJS) $(OBJS6809) $(OBJS6309)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
17
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
18 all: banner $(ALLOBJS) $(DEPENDS)
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
19
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
20 banner:
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
21 @$(ECHO) "**************************************************"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
22 @$(ECHO) "* *"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
23 @$(ECHO) "* Basic09 *"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
24 @$(ECHO) "* *"
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1363
diff changeset
25 @$(ECHO) "**************************************************"
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
26
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
27 basic09_6309: basic09.asm
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
28 $(AS) $(ASOUT)$@ $< $(H6309)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
29
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
30 basic09_6809: basic09.asm
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
31 $(AS) $(ASOUT)$@ $< $(M6809)
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
32
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
33 runb_6309: runb.asm
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
34 $(AS) $(ASOUT)$@ $< $(H6309)
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
35
489
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
36 runb_6809: runb.asm
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
37 $(AS) $(ASOUT)$@ $< $(M6809)
c9cad71c4605 runb.asm now incorporates both 6809 and 6309 versions, Makefile reflects change
boisy
parents: 478
diff changeset
38
668
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
39 runbt_6809: basic09.asm
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
40 $(AS) $(ASOUT)$@ $< $(M6809) -aRUNTIME=1
707d46fced97 Added gfx2
boisy
parents: 659
diff changeset
41
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
42 clean: dskclean
477
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
43 $(RM) $(ALLOBJS)
7a5d3fcbe2d8 Added Basic09 sources from Curtis Boyle
boisy
parents:
diff changeset
44
2968
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
45 dsk: $(DSK)
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
46
2968
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
47 $(DSK): all
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
48 $(RM) $@
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
49 $(OS9FORMAT_SS35) $@ -n"Basic09"
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
50 $(MAKDIR) $@,CMDS
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
51 $(OS9COPY) $(ALLOBJS) $@,CMDS
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
52 $(OS9ATTR_EXEC) $(foreach file,$(ALLOBJS),$@,CMDS/$(file))
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
53 $(CPL) $(TEXTFILES) $@,.
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
54 $(OS9ATTR_TEXT) $(foreach file,$(TEXTFILES),$@,$(file))
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
55
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
56 dskcopy: $(DSK)
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
57 $(CP) $(DSK) $(DSKDIR)
2509
40718e6a1947 added dskcopy target
boisy
parents: 2216
diff changeset
58
493
d05e9232c3a2 Basic09 disk now has ReadMe and install scripts
boisy
parents: 489
diff changeset
59 dskclean:
2968
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
60 $(RM) $(DSK)
2216
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
61
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
62 info:
d096a278e068 Added info targets
boisy
parents: 2054
diff changeset
63 @$(ECHO) "*** Basic09 ***"
2968
13885d9433d5 3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
64 @$(ECHO) $(DSK)