YaK:: OS9 / NitrOS9 / SDcard MOOH ... 6809 Notes [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   
[mega_changes]
[photos]

OS9 / NitrOS9 / SDcard MOOH ... 6809 Notes

Level1 Boot Track contains modules

https://github.com/strickyak/doing_os9

Name: <REL> at offset 0x6 == 6.
Size: 0x75 == 117.
Type: 12.
Lang: 1.
Attr: 8.
Revn: 5.

Name: <Krn> at offset 0x7b == 123.
Size: 0x80b == 2059.
Type: 12.
Lang: 1.
Attr: 8.
Revn: 1.

Name: <KrnP2> at offset 0x894 == 2196.
Size: 0x50e == 1294.
Type: 12.
Lang: 1.
Attr: 8.
Revn: 0.

Name: <Init> at offset 0xda2 == 3490.
Size: 0x76 == 118.
Type: 12.
Lang: 0.
Attr: 8.
Revn: 0.

Name: <Boot> at offset 0xe18 == 3608.
Size: 0x1ad == 429.
Type: 12.
Lang: 1.
Attr: 8.
Revn: 0.

Level1 OS9Boot contains

Name: <IOMan> at offset 0x0 == 0.
Name: <RBF> at offset 0x70a == 1802.
Name: <rb1773> at offset 0x14ef == 5359.
Name: <D0> at offset 0x19f8 == 6648.
Name: <D1> at offset 0x1a27 == 6695.
Name: <D2> at offset 0x1a56 == 6742.
Name: <DD> at offset 0x1a85 == 6789.
Name: <SCF> at offset 0x1ab4 == 6836.
Name: <VTIO> at offset 0x1f9e == 8094.
Name: <CoVDG> at offset 0x27fa == 10234.
Name: <TERM> at offset 0x2abc == 10940.
Name: <scbbp> at offset 0x2af8 == 11000.
Name: <p> at offset 0x2cb4 == 11444.
Name: <scbbt> at offset 0x2cee == 11502.
Name: <T1> at offset 0x2e78 == 11896.
Name: <PipeMan> at offset 0x2eb3 == 11955.
Name: <Piper> at offset 0x30f1 == 12529.
Name: <Pipe> at offset 0x3119 == 12569.
Name: <Clock> at offset 0x313f == 12607.
Name: <Clock2> at offset 0x32b4 == 12980.
Name: <SysGo> at offset 0x331a == 13082.

SDcard on the MOOH

In particular, using image `sdcard-co42.img` from `sdcard.img_mooh_dualboot-20190428-co42.zip` ( from https://nitros9.sourceforge.io/mooh/ or archive at http://wiki.yak.net/1087 )

The NitrOS/9 boot image does start at 0x8000 ( bigsector 64 ) [ where bigsector is 512-byte sectors ]

$ hd sdcard-co42.img
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  7b 8a 5c 4f 00 00 00 82  |........{.\O....|
000001c0  03 00 83 96 11 04 00 20  00 00 ff ff 00 00 00 00  |....... ........|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00008000  00 12 00 26 00 4f 53 20  2d 12 05 87 cd 01 2a 00  |...&.OS -.....*.|
00008010  0d c1 85 d7 00 2b 00 00  52 45 cc 05 6c 00 00 00  |.....+..RE..l...|
00008020  09 00 00 00 03 34 3f 00  00 ec 01 00 86 2a 9d 5e  |.....4?......*.^|
00008030  1f 98 9d 5e 5f 8c c6 ff  fe 80 fd 1f 9b 86 3d 97  |...^_.........=.|
00008040  a7 86 40 97 90 97 c6 97  c8 97 cb 97 cd 97 cf 1a  |..@.............|
00008050  50 7f ff 03 4f 1f 8b 0f  71 7f ff a0 10 ce 1f ff  |P...O...q.......|
00008060  e7 e2 27 0b 5f 1f 01 a7  80 5c 26 fb df 18 5f 31  |..'._....\&..._1|
00008070  8c aa 8e 00 90 4a ee a1  ef 8b ef 81 8e 38 20 9f  |.....J.......8 .|
00008080  04 30 88 e0 10 8e 02 00  c6 20 e7 80 31 3f 26 fa  |.0....... ..1?&.|
00008090  33 8c 1e 8d 0b e6 e0 26  30 8d 05 7f ff 40 20 fe  |3......&0....@ .|
000080a0  10 ae c1 4f e6 c0 1f 01  a6 c0 a7 a0 30 1f 26 f8  |...O........0.&.|
000080b0  39 38 08 0c 4e 49 54 52  4f 53 39 20 42 4f 4f 54  |98..NITROS9 BOOT|
000080c0  38 15 06 46 41 49 4c 45  44 1f 50 81 26 26 39 ce  |8..FAILED.P.&&9.|

and the NitrOS/9 Disk Image does start at 0x40000 ( bigsector 512 )

...
*
00040000  00 3b c4 12 07 79 00 01  00 00 09 00 00 ff 01 80  |.;...y..........|
00040010  02 00 12 00 00 00 00 13  53 79 76 08 13 01 02 4e  |........Syv....N|
00040020  69 74 72 4f 53 2d 39 2f  36 38 30 39 20 4c 65 76  |itrOS-9/6809 Lev|
00040030  65 6c 20 b2 00 00 00 00  00 00 00 00 00 00 00 01  |el .............|
00040040  01 00 20 01 03 52 01 00  00 12 00 12 03 08 00 00  |.. ..R..........|
00040050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00040060  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00040070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00040100  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00040250  ff ff c0 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00040260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00040870  00 00 00 00 00 00 00 00  0f ff ff ff ff ff ff ff  |................|
00040880  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00040900  bf 00 00 76 08 13 01 02  01 00 00 01 40 76 08 13  |...v........@v..|

Extracting the filesystem:

$ dd if=/home/strick/Downloads/mooh/sdcard.img_mooh_dualboot-20190428-co42/sdcard-co42.img of=/tmp/co42.vhd bs=512 skip=512
73215+0 records in
73215+0 records out
37486080 bytes (37 MB, 36 MiB) copied, 0.240352 s, 156 MB/s

$ go run grok_os9_disk/grok_os9_disk.go /tmp/explode-co42 < /tmp/co42.vhd > /tmp/manifest-co42 2>&1

$ less /tmp/manifest-co42
=== SECTOR ZERO ===

DD.TOT: 00 3b c4        [3] "Total number of sectors" :: 15300
DD.TKS: 12      [1] "Track size in sectors" :: 18
DD.MAP: 07 79           [2] "Number of bytes in allocation bit map" :: 1913
DD.BIT: 00 01           [2] "Number of sectors/bit" :: 1
DD.DIR: 00 00 09        [3] "Address of root directory fd" :: 9
DD.OWN: 00 00           [2] "Owner" :: 0
DD.ATT: ff      [1] "Attributes" :: 255
DD.DSK: 01 80           [2] "Disk ID" :: 384
DD.FMT: 02      [1] "Disk format; density/sides" :: 2
DD.SPT: 00 12           [2] "Sectors/track" :: 18
DD.RES: 00 00           [2] "Reserved for future use" :: 0
DD.SIZ:         [0] "Device descriptor minimum size" :: @21
DD.BT:  00 00 13        [3] "System bootstrap sector" :: 19
DD.BSZ: 53 79           [2] "Size of system bootstrap" :: 21369
DD.DAT: 76 08 13 01 02          [5] "Creation date" :: 2018-08-19 01:02
DD.NAM: 4e 69 74 72 4f 53 2d 39 2f 36 38 30 39 20 4c 65 76 65 6c 20 b2 00 00 00 00 00 00 00 00 00 00 00         [32] "Volume name" :: "NitrOS-9/6809 Level 2"
DD.OPT: 01 01 00 20 01 03 52 01 00 00 12 00 12 03 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00         [32] "Option area" :: --

========= INODE #9 "/" =========

FD.ATT: bf      [1] "Attributes" :: (d-iXWRxwr)
FD.OWN: 00 00           [2] "Owner" :: 0
FD.DAT: 76 08 13 01 02          [5] "Date last modified" :: 2018-08-19 01:02
FD.LNK: 01      [1] "Link count" :: 1
FD.SIZ: 00 00 01 40     [4] "File size" :: 320
FD.Creat:       76 08 13        [3] "File creation date (YY/MM/DD)" :: 2018-08-19
FD.SEG:         [0] "Beginning of segment list" :: @16


=== Segment 0 ===
FDSL.A: 00 00 0a        [3] "Segment beginning physical sector number" :: 10
FDSL.B: 00 08           [2] "Segment size" :: 8

=== Directory Segment at 10 segs 8 (inode 9 path "/") ===
DIR.NM: 2e ae 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00          [29] "Fi
le name" :: ".."
DIR.FD: 00 00 09        [3] "File descriptor physical sector number" :: 9
DIR.SZ:         [0] "Directory record size" :: @32
DIR.NM: ae 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00          [29] "Fi
le name" :: "."
DIR.FD: 00 00 09        [3] "File descriptor physical sector number" :: 9
DIR.SZ:         [0] "Directory record size" :: @32
DIR.NM: 4f 53 39 42 6f 6f f4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00          [29] "Fi
le name" :: "OS9Boot"
DIR.FD: 00 00 12        [3] "File descriptor physical sector number" :: 18
DIR.SZ:         [0] "Directory record size" :: @32
DIR.NM: 43 4d 44 d3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00          [29] "File name" :: "CMDS"
DIR.FD: 00 00 67        [3] "File descriptor physical sector number" :: 103
DIR.SZ:         [0] "Directory record size" :: @32
DIR.NM: 53 59 d3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00          [29] "File name" :: "SYS"
DIR.FD: 00 00 70        [3] "File descriptor physical sector number" :: 112
DIR.SZ:         [0] "Directory record size" :: @32
DIR.NM: 44 45 46 d3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00          [29] "File name" :: "DEFS"
DIR.FD: 00 00 79        [3] "File descriptor physical sector number" :: 121
DIR.SZ:         [0] "Directory record size" :: @32

.....

$ ls -R /tmp/explode-co42
/tmp/explode-co42:
ccbkrn  CMDS  DEFS  NITROS9  OS9Boot  startup  SYS  sysgo

/tmp/explode-co42/CMDS:
asm      cmp      debug   dir      dsave  exbin   help   irqs    mdir      modpatch  procs   runb      smap     tsmon     xmode
attr     cobbler  ded     dirsort  dump   format  httpd  link    megaread  montype   prompt  save      syscall  tuneport
backup   copy     deiniz  disasm   dw     free    ident  list    merge     mpi       pwd     setime    tee      unlink
basic09  cputype  del     display  echo   gfx     inetd  load    mfree     os9gen    pxd     shell     telnet   utilpak1
binex    date     deldir  dmem     edit   gfx2    iniz   login   minted    padrom    reboot  shell_21  tmode    verify
build    dcheck   devs    dmode    error  grfdrv  inkey  makdir  mmap      park      rename  sleep     touch    wcreate

/tmp/explode-co42/DEFS:
coco1vtio.d  cocovtio.d  Defsfile  mooh.d  os9.d  rbf.d  scf.d

/tmp/explode-co42/NITROS9:
6809L2

/tmp/explode-co42/NITROS9/6809L2:
BOOTLISTS  CMDS  MODULES  SCRIPTS

/tmp/explode-co42/NITROS9/6809L2/BOOTLISTS:
dw.bl  standard.bl

/tmp/explode-co42/NITROS9/6809L2/CMDS:
del  echo  format  grfdrv  makdir  merge  os9gen  prompt  shell  tmode

/tmp/explode-co42/NITROS9/6809L2/MODULES:
BOOTTRACK  CLOCKS  KERNEL  PIPE  RBF  SCF  SYSMODS

/tmp/explode-co42/NITROS9/6809L2/MODULES/BOOTTRACK:
boot_1773_30ms  boot_burke  boot_dw_arduino  boot_rampak  boot_tc3     rel_32       rel_40_50hz
boot_1773_6ms   boot_dide   boot_dw_becker   boot_rom     boot_wd1002  rel_32_50hz  rel_80
boot_65spi      boot_dw     boot_ide         boot_sdc     krn          rel_40       rel_80_50hz

/tmp/explode-co42/NITROS9/6809L2/MODULES/CLOCKS:
clock2_bnb     clock2_coco3fpga  clock2_disto4  clock2_elim    clock2_jvemu    clock2_smart  clock_50hz
clock2_cloud9  clock2_disto2     clock2_dw      clock2_harris  clock2_messemu  clock2_soft   clock_60hz

/tmp/explode-co42/NITROS9/6809L2/MODULES/KERNEL:
ccbkrn  krnp2  krnp3_perr  krnp4_regdump

/tmp/explode-co42/NITROS9/6809L2/MODULES/PIPE:
pipe.dd  pipeman.mn  pipeman_named.mn  piper.dr

/tmp/explode-co42/NITROS9/6809L2/MODULES/RBF:
d0_35s.dd  d2_80d.dd     ddr0_8k.dd        dwio.sb         lltc3.dr    r0_ramd_coco3fpga.dd  rbsuper.dr  sd0_cocosdc.dd    x3.dd
d0_40d.dd  d3_35s.dd     ddr0_96k.dd       i0_ide.dd       md.dd       ramd_coco3fpga.dr     s0_tc3.dd   sd0_sd65spi.dd
d0_80d.dd  ddd0_35s.dd   dds0_tc3.dd       i1_ide.dd       mr0.dd      rammer.dr             s1_tc3.dd   sd1_coco3fpga.dd
d1_35s.dd  ddd0_40d.dd   ddsd0_cocosdc.dd  ih_ide.dd       myram.dr    rb1773.dr             s2_tc3.dd   sd1_cocosdc.dd
d1_40d.dd  ddd0_80d.dd   ddsd0_sd65spi.dd  llcoco3fpga.dr  r0_128k.dd  rb1773_scii_ff58.dr   s3_tc3.dd   sh_tc3.dd
d1_80d.dd  ddi0_ide.dd   ddx0.dd           llcocosdc.dr    r0_192k.dd  rb1773_scii_ff74.dr   s4_tc3.dd   x0.dd
d2_35s.dd  ddr0_128k.dd  dwio_arduino.sb   llide.dr        r0_8k.dd    rbdw.dr               s5_tc3.dd   x1.dd
d2_40d.dd  ddr0_192k.dd  dwio_becker.sb    llsd65spi.dr    r0_96k.dd   rbf.mn                s6_tc3.dd   x2.dd

/tmp/explode-co42/NITROS9/6809L2/MODULES/SCF:
co42.io          joydrv_6551M.sb  n13_scdwv.dd  n_scdwv.dd     ssp.dd          term_vga.dt      vi.dd         w2.dw        z3_scdwv.dd
co80.io          joydrv_6552L.sb  n1_scdwv.dd   p_scbbp.dd     t1_scbbt.dd     term_win40.dt    vrn.dr        w3.dw        z4_scdwv.dd
cogrf.io         joydrv_6552M.sb  n2_scdwv.dd   p_scdwp.dd     t2_sc6551.dd    term_win80.dt    vtio1.dr      w4.dw        z5_scdwv.dd
cohr.io          joydrv_joy.sb    n3_scdwv.dd   sc6551.dr      t3_sc6551.dd    term_wprs.dt     vtio1_vga.dr  w5.dw        z6_scdwv.dd
covdg.io         keydrv_cc1.sb    n4_scdwv.dd   scbbp.dr       term_42.dt      term_z_scdwv.dt  vtio.dr       w6.dw        z7_scdwv.dd
covdg_small.io   keydrv_cc3.sb    n5_scdwv.dd   scbbt.dr       term_80.dt      v2.dw            w10.dw        w7.dw
covga.io         keydrv_dgn.sb    n6_scdwv.dd   scdwp.dr       term_hr.dt      v3.dw            w11.dw        w8.dw
cowin.io         midi_scdwv.dd    n7_scdwv.dd   scdwv.dr       term_sc6551.dt  v4.dw            w12.dw        w9.dw
cowprs.io        n10_scdwv.dd     n8_scdwv.dd   scf.mn         term_scbbt.dt   v5.dw            w13.dw        w.dw
ftdd.dd          n11_scdwv.dd     n9_scdwv.dd   snddrv_cc3.sb  term_scdwv.dt   v6.dw            w14.dw        z1_scdwv.dd
joydrv_6551L.sb  n12_scdwv.dd     nil.dd        sspak.dr       term_vdg.dt     v7.dw            w1.dw         z2_scdwv.dd

/tmp/explode-co42/NITROS9/6809L2/MODULES/SYSMODS:
init  ioman  rominfo  sysgo_bd  sysgo_dd  sysgo_h0  sysgo_rom  vectors

/tmp/explode-co42/NITROS9/6809L2/SCRIPTS:
mb.dw  mb.floppy

/tmp/explode-co42/SYS:
errmsg  helpmsg  ibmedcfont  inetd.conf  isolatin1font  motd  password  stdfonts  stdpats_16  stdpats_2  stdpats_4  stdptrs
$
(unless otherwise marked) Copyright 2002-2014 YakPeople. All rights reserved.
(last modified 2021-07-20)       [Login]
(No back references.)