MikeOS 4.1 released
Posted: Tue Jan 19, 2010 12:40 pm
Hi all,
MikeOS 4.1 is out now with the following changes:
http://mikeos.sourceforge.net
We also have a new Downloads section for contributed MikeOS projects and programs. This includes:
Mike
MikeOS 4.1 is out now with the following changes:
- BASIC variable assignment enhanced: can now take multiple values and variables, eg "x = a + 2 * b + 3"
- Two new system calls: os_port_byte_out and os_port_byte_in -- send/receive bytes from ports
- os_serial_port_enable system call: now takes 0 in AX for normal mode (9600 baud as before), or 1 for a new slow mode (1200 baud)
- New SERIAL command in BASIC: "SERIAL ON 1200" or "SERIAL ON 9600" to enable, "SERIAL SEND X" or "SERIAL SEND 50" to send a byte, and "SERIAL REC X" to receive a byte into a variable
- New PORT command in BASIC: "PORT OUT 1234 X" or "PORT OUT 1234 20" to send byte to a port, and "PORT IN 1234 X" to receive a byte
- source/features/serial.asm renamed to source/features/ports.asm as it now contains new non-serial routines
- os_get_random rewritten: now takes low and high values in AX and BX, and returns random int between them (inclusive) in CX; also has new os_seed_random routine used by the kernel
- New RAND command in BASIC: generates a random number between two values and stores the result in a variable
- CLI command checking code simplified -- no need to point SI to the input string each time
- BASIC CURSORCHAR command is now CURSCHAR, so that it doesn't look like a superset of the CURSOR command
- API bumped to version 13
- Handbook updates and fixes
http://mikeos.sourceforge.net
We also have a new Downloads section for contributed MikeOS projects and programs. This includes:
- libmikeos, a library for writing MikeOS programs in C
- MikeOS-Xfer, an Xmodem-based program for serial file transfers
- ADC-PC, an analogue-to-digital converter project for kids
Mike