Menu

WWWROOT problems

Developers
2013-06-06
2014-01-12
  • Robert Gault

    Robert Gault - 2013-06-06

    I'm not sure what should happen with this folder, but it looks like OS-9 disks should now have a wwwroot folder containing index.html. Here is the problem.

    No Level2 disks have the wwwroot folder. When I removed 'reboot.asm' from Level1 commands so that I could build disks, os9 crashed trying to dsave wwwroot.

    os9 format -t1024 -ss -dd -q nos96809l1v030209coco1_dw_headless.dsk -n"NitrOS-9/6809 Level 1"
    os9 gen nos96809l1v030209coco1_dw_headless.dsk -b=bootfiles/bootfile_headless_dw -t=bootfiles/kernel_dw
    Boot track written!
    Bootfile Linked! LSN: 20, size: 11797
    os9 makdir nos96809l1v030209coco1_dw_headless.dsk,CMDS
    os9 makdir nos96809l1v030209coco1_dw_headless.dsk,SYS
    os9 makdir nos96809l1v030209coco1_dw_headless.dsk,DEFS
    os9 makdir nos96809l1v030209coco1_dw_headless.dsk,WWWROOT
    os9 dsave -e wwwroot nos96809l1v030209coco1_dw_headless.dsk,WWWROOT
    make: *** [nos96809l1v030209coco1_dw_headless.dsk] Error 5

    The command for this is in the makefile.
    os9 dsave -e wwwroot $@,WWWROOT

    The strange thing is that while the disk was formatted with -t1024, it existed as 157K bytes on the PC. When the os9 dsave command was removed from the makefile, the disk was correctly built and filled as a 451K disk.
    The only Level1 disk which did containing wwwroot, did not use os9 dsave but several copy instructions.

    $(CD) wwwroot; $(CP) $(WWWROOT) ../$@,WWWROOT
    $(foreach file, $(WWWROOT), $(OS9ATTR_TEXT) $@,WWWROOT/$(file);)
    
     
  • Tormod Volden

    Tormod Volden - 2014-01-12

    There is a bug in the ToolShed "os9 dsave" command. Anyway the build files have been changed to not use dsave.

     

Anonymous
Anonymous

Add attachments
Cancel