Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

RxDOS building - Prerequisites (Announce)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 03.05.2020, 19:21

> While looking to instsect (because rxdos mak.sh complain about the missing
> "instsect.com"), is there a difference between boot32fd.bin (not found) and
> boot32.bin ?

You should build boot32.bin anew too; use the rxdos-7.2x oldmak.sh to drive the complete build. And yes, there is a difference, read on for that. To use oldmak.sh you can use a command like "INICOMP_METHOD=exodecr ./oldmak.sh" -- or as mentioned edit ovr.sh to contain a line like "[ -z "$INICOMP_METHOD" ] && INICOMP_METHOD=exodecr" and then call "./oldmak.sh". The mak.sh script will be called by oldmak.sh, you do not need to separately call mak.sh.

> And if it's better to use boot12.bin, why instdesct mak.sh keep refer to
> the 32 bit version ?

The instsect/mak.sh file is only for building instsect stand-alone, and is not used by the kernel build. The kernel build is done by oldmak.sh to build the RxDOS.COM boot sector loaders (boot12.bin, boot16.bin, boot32.bin) first and to then build a default instsect which uses these boot sector loaders.

> nasm -D_PAYLOAD_FAT32='"boot32fd.bin"' -D_FAT12=0 -D_FAT16=0 instsect.asm
> -D_MAP=instfd32.map -l instfd32.lst -I../gopt/ -I../ldosboot/ -I../lmacros/
> -o instfd32.com "$@"

This is only for building "instfd32.com", a variant of instsect that only has a FreeDOS KERNEL.SYS boot sector loader for FAT32 file systems. (FreeDOS KERNEL.SYS loaders for FAT12 and FAT16 are not yet supported; there is a source option for that protocol but it doesn't work in the end because there is no _RELOCATE option in the FAT12 and FAT16 loaders yet. Due to space constraints, if this is ever implemented then the loaders would likely support only CHS or only LBA in separate builds, not both in one build.) This is not needed for building the RxDOS kernel.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 409 users online (0 registered, 409 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum