Mercurial > hg > Members > kono > nitros9-code
view level1/modules/init.asm @ 3267:024ad1d926fd
Get gfx2 to build from cmds folders
Now that gfx2.asm needs to include coco3vtio.d the latter needs to be
built first and be accessed from the port-specific defs folder.
OTOH the one built in 3rd-party/packages/basic09 is built only later
during a full build.
(All the different defs folders and .d files still puzzle me.)
Also updated coco3fpga/defs/makefile to be based on the coco3 one.
The mc09l2 port doesn't need gfx and gfx2.
Note for later:
This whole build of basic09 components from the 3rdparty folder
during the ports builds is not very nice. At a minimum we should
try to limit the extra --includedir to the few commands needing it.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Wed, 17 Jul 2019 01:14:55 +0200 |
parents | 185c31229f22 |
children | a418110ecb44 |
line wrap: on
line source
******************************************************************** * Init - NitrOS-9 Configuration module * * $Id$ * * Edt/Rev YYYY/MM/DD Modified by * Comment * ------------------------------------------------------------------ * 204 1998/10/12 Boisy G. Pitre * Original OS-9 L2 Tandy distribution. * * 205 1998/10/20 Boisy G. Pitre * Added CC3IO and Clock sections. * * 205r2 1998/10/20 Boisy G. Pitre * Removed clock information from here. * * 1 2003/01/08 Boisy G. Pitre * Restarted edition number back to 1, removed CMDS/cc3go reference and * just have cc3go so that in certain cases, cc3go can be in the bootfile, * and so that ROMmed systems don't have to have a special init module. * * 2003/11/05 Robert Gault * Corrected CC3IO info regards mouse. Changed from fcb to fdb low res/ right * Corrected OS9Defs to match. * * 2006/07/06 P.Harvey-Smith. * Conditionally excluded port messages on Dragon Alpha, due to insufficient * space ! * nam Init ttl NitrOS-9 Configuration module ifp1 use defsfile IFGT Level-1 use cocovtio.d ENDC endc tylg set Systm+$00 atrv set ReEnt+rev rev set $00 edition set 1 * * Usually, the last two words here would be the module entry * address and the dynamic data size requirement. Neither value is * needed for this module so they are pressed into service to show * MaxMem and PollCnt. For example: * $0FE0,$0015 means * MaxMem = $0FE000 * PollCnt = $0015 * mod eom,name,tylg,atrv,$0FE0,$0015 ***** USER MODIFIABLE DEFINITIONS HERE ***** * * refer to * "Configuration Module Entry Offsets" * in os9.d * start equ * fcb $27 entries in device table fdb DefProg offset to program to fork fdb DefDev offset to default disk device fdb DefCons offset to default console device fdb DefBoot offset to boot module name fcb $01 write protect flag (?) fcb Level OS level fcb NOS9VER OS version fcb NOS9MAJ OS major revision fcb NOS9MIN OS minor revision IFNE H6309 fcb Proc6309+CRCOff feature byte #1 ELSE fcb CRCOff feature byte #1 ENDC fcb $00 feature byte #2 fdb OSStr fdb InstStr fcb 0,0,0,0 reserved IFGT Level-1 * CC3IO section fcb Monitor monitor type fcb 0,1 mouse info, low res right mouse fcb $1E key repeat start constant fcb $03 key repeat delay constant ENDC name fcs "Init" fcb edition DefProg fcs "SysGo" DefDev fcs "/DD" DefCons fcs "/Term" DefBoot fcs "Boot" * * The DragonAlpha is so pushed for boot track space, that we have to exclude these * messages ! * IFEQ dalpha OSStr equ * fcc "NitrOS-9/" IFNE H6309 fcc /6309 / ELSE fcc /6809 / ENDC fcc /Level / fcb '0+Level fcc / V/ fcb '0+NOS9VER fcc /./ fcb '0+NOS9MAJ fcc /./ fcb '0+NOS9MIN fcb 0 InstStr equ * IFNE coco1 fcc "Radio Shack Color Computer" ELSE IFNE deluxe fcc "Deluxe Color Computer" ELSE IFNE coco2 fcc "Radio Shack Color Computer 2" ELSE IFNE coco2b fcc "Tandy Color Computer 2" ELSE IFNE coco3 fcc "Tandy Color Computer 3" ELSE IFNE tano fcc "Tano Dragon (US)" ELSE IFNE d64 fcc "Dragon 64 (UK)" ELSE IFNE dalpha fcc "Dragon Alpha" ELSE IFNE atari fcc "Atari XL/XE" ELSE IFNE mc09 fcb $1B text in bright blue fcc "[94mMulticomp09" fcb $1B fcc "[0m" ELSE IFNE coco3fpga fcc "Gary Becker's Coco3FPGA" ELSE IFNE corsham fcc "Corsham 6809" ELSE fcc "Unknown Machine" ENDC match IFNE corsham ENDC match IFNE coco3fpga ENDC match IFNE mc09 ENDC match IFNE atari ENDC match IFNE dalpha ENDC match IFNE d64 ENDC match IFNE tano ENDC match IFNE coco3 ENDC match IFNE coco2b ENDC match IFNE coco2 ENDC match IFNE delux ENDC match IFNE coco1 fcb 0 null-terminate the name string ELSE * DragonAlpha OSStr equ * InstStr equ * fcb 0 null-length string ENDC match IFEQ dalpha emod eom equ * end