Skip to content

Commit

Permalink
Fix for Issue nanochess#1: Inconsistent line break formatting in READ…
Browse files Browse the repository at this point in the history
…ME file (anomalous CRs)
  • Loading branch information
Michal Dorsett committed Jul 31, 2019
1 parent 1bf184d commit 70a84d2
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,23 @@ Filesystem organization:


Starting bootOS:
Just make sure to write it at the boot sector of a
floppy disk. It can work with any floppy disk size
(360K, 720K, 1.2MB and 1.44MB) and it will waste the
disk space as only uses the first two sectors of the
disk and then the first sector of each following
track.

For emulation make sure to deposit it at the start
of a .img file of 360K, 720K or 1440K. (at least
VirtualBox detects the type of disk by the length

Just make sure to write it at the boot sector of a
floppy disk. It can work with any floppy disk size
(360K, 720K, 1.2MB and 1.44MB) and it will waste the
disk space as only uses the first two sectors of the
disk and then the first sector of each following
track.

For emulation make sure to deposit it at the start
of a .img file of 360K, 720K or 1440K. (at least
VirtualBox detects the type of disk by the length
of the image file)

For Mac OS X and Linux you can create a 360K image
in this way:

dd if=/dev/zero of=oszero.img count=719 bs=512
dd if=/dev/zero of=oszero.img count=719 bs=512
cat os.img oszero.img >osbase.img

Replace 719 with 1439 for 720K, or 2879 for 1.44M.
Expand All @@ -87,60 +87,60 @@ Starting bootOS:
qemu-system-x86_64 -fda os.img

Running bootOS:
The first time you should enter the 'format' command,
so it initializes the directory. It also copies itself
again to the boot sector, this is useful to init new
disks.

The first time you should enter the 'format' command,
so it initializes the directory. It also copies itself
again to the boot sector, this is useful to init new
disks.

bootOS commands:
ver Shows the version (none at the moment)
dir Shows the directory's content.
del filename Deletes the "filename" file.
format As explained before.
enter Allows to enter up to 512 hexadecimal
bytes to create another file.

Notice the line size is 128 characters so
you must break the input into chunks of
4, 8 or 16 bytes.

ver Shows the version (none at the moment)
dir Shows the directory's content.
del filename Deletes the "filename" file.
format As explained before.
enter Allows to enter up to 512 hexadecimal
bytes to create another file.

Notice the line size is 128 characters so
you must break the input into chunks of
4, 8 or 16 bytes.

For example: (Character + is Enter key)
$enter+
hbb 17 7c 8a 07 84 c0 74 0c 53 b4 0e bb 0f 00 cd+
h10 5b 43 eb ee cd 20 48 65 6c 6c 6f 2c 20 77 6f+
h72 6c 64 0d 0a 00+
h+
*hello+
$dir+
hello
$hello+
Hello, world
$

bootOS programs: (Oh yes! we have software support)

fbird https://github.com/nanochess/fbird
Pillman https://github.com/nanochess/pillman
invaders https://github.com/nanochess/invaders
bootBASIC https://github.com/nanochess/bootBASIC

You can copy the machine code directly using the 'enter'

$enter+
hbb 17 7c 8a 07 84 c0 74 0c 53 b4 0e bb 0f 00 cd+
h10 5b 43 eb ee cd 20 48 65 6c 6c 6f 2c 20 77 6f+
h72 6c 64 0d 0a 00+
h+
*hello+
$dir+
hello
$hello+
Hello, world
$

bootOS programs: (Oh yes! we have software support)

fbird https://github.com/nanochess/fbird
Pillman https://github.com/nanochess/pillman
invaders https://github.com/nanochess/invaders
bootBASIC https://github.com/nanochess/bootBASIC

You can copy the machine code directly using the 'enter'
command, or you can create a file with signature bytes
with the same command and later copy the binary into the
.img file using the signature bytes as a clue to locate
the right position in the image file.
the right position in the image file.

Or you can find a pre-designed disk image along this Git
with the name osall.img
with the name osall.img

Enjoy it!



>> ATTENTION <<
>> ATTENTION <<

Would you like to learn 8086/8088 programming? Then you
must get my new book Programming Boot Sector Games including
Expand Down

0 comments on commit 70a84d2

Please sign in to comment.