21 lines
489 B
Plaintext
21 lines
489 B
Plaintext
# The simplest possible program: just an infinite loop.
|
|
# All is well if your computer clears screen and hangs without restarting.
|
|
# On an emulator the window may get bigger to accomodate the higher-resolution
|
|
# graphics mode.
|
|
#
|
|
# To build a disk image:
|
|
# ./translate_subx boot.subx ex1.subx # emits disk.img
|
|
# To run:
|
|
# qemu-system-i386 disk.img
|
|
# Or:
|
|
# bochs -f bochsrc # bochsrc loads disk.img
|
|
|
|
== code
|
|
|
|
Entry:
|
|
{
|
|
eb/jump loop/disp8
|
|
}
|
|
|
|
# vim:ft=subx
|