;============================================================================
;
; x3dos
;
;============================================================================

A small 16bit operating system.
Developed in Win32 enviroment.
To test some of my silly ideas :P

I place this code into public domain.
Use at own risk, no guarantees!

This OS loads and runs X3D programs.

To run one of the example programs from the kernel
type FILENAME.X3D or type DIR to view root directory.

You can create new user programs by using the system API.

Thanks to Dex4u (I used some of his MiniDOS reloading code)
And to my friends at Flat Assembler forums for their support!

Have fun!

- bitshifter -

;============================================================================
;
; Required Tools
;
;============================================================================

FASM.EXE     - http://flatassembler.net (To assemble source files)
BOOTABLE.EXE - http://alexfru.chat.ru   (To setup/write bootsector to disk)

Download and unpack the required tools into this directory!

;============================================================================
;
; Assembly Script
;
;============================================================================

FASM.EXE BOOTER.ASM   BOOTER.SYS
FASM.EXE SYSTEM.ASM   SYSTEM.SYS
FASM.EXE EXAMPLE1.ASM EXAMPLE1.X3D
FASM.EXE EXAMPLE2.ASM EXAMPLE2.X3D

;============================================================================
;
; Installation Script - For Disk Drive A:
;
;============================================================================

BOOTABLE.EXE BOOTER.SYS   A:
COPY         SYSTEM.SYS   A:
COPY         EXAMPLE1.X3D A:
COPY         EXAMPLE2.X3D A:

;============================================================================
;
; Optional Install
;
;============================================================================

If you want to install bootsector with any other tool but BOOTABLE then the
BIOS Parameter Block in BOOTER.ASM would need to be hardcoded for YOUR disk!

;============================================================================
;
; File List
;
;============================================================================

BOOTER.ASM - Source file for bootloader.
BOOTER.SYS - Binary file for bootloader.

SYSTEM.ASM - Source file for kernel.
SYSTEM.SYS - Binary file for kernel.

STDAFX.INC - Standard equates and preprocs.
SYSAPI.ASM - System API import routines.

EXAMPLE1.ASM - Source file for hello world example.
EXAMPLE1.X3D - Binary file for hello world example.

EXAMPLE2.ASM - Source file for dump regs example.
EXAMPLE2.X3D - Binary file for dump regs example.

ASSEMBLE.BAT - Script for assembling all sources.
INSTALL.BAT  - Script for installing binaries to disk (Drive A:)

;============================================================================
; Yay!
;============================================================================
