MikeOS 4.1 released

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

MikeOS 4.1 released

Post by M-Saunders »

Hi all,

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
Thanks to Paulo Valongo, Ian Seyler and Steve for their work. It's available at:

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
Cheers,
Mike
Last edited by M-Saunders on Tue Jun 10, 2014 2:26 am, edited 1 time in total.
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: MikeOS 4.1 released

Post by Combuster »

I tried your floppy image, and everything seems to work fine.

I could however crash the system by typing in an invalid opcode in the debugger, but since it's real mode I don't know if you planned on fixing that.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: MikeOS 4.1 released

Post by M-Saunders »

Thanks for testing Combuster. Yes, the machine code monitor doesn't have any sanity checks, as it assumes the user knows exactly what he/she is doing -- as opposed to the BASIC interpreter which does a few checks to cover obvious errors :-)

M
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
User avatar
Coty
Member
Member
Posts: 286
Joined: Thu Feb 12, 2009 5:12 pm

Re: MikeOS 4.1 released

Post by Coty »

Every thing seems to work fine here to. Nice work =D>
My hero, is Mel.
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: MikeOS 4.1 released

Post by M-Saunders »

Hi all,

Just a small update. We've released MikeOS 4.1.2, which contains a few bugfixes, but I also wanted to note the increased use of MikeOS BASIC. It has been ported to a few other operating systems (eg DexOS, BareMetal) and we have some new applications, eg Memory Editor:

http://mikeos.berlios.de/images/memedit.png

http://mikeos.berlios.de/source/memedit.bas.txt

This shows what MikeOS BASIC is capable of. The source code is in source/features/basic.asm for anyone who wants to try porting it. There's also a detailed handbook describing the (quite limited) interpreter at: http://mikeos.berlios.de/handbook-appdev-basic.html

Cheers,
Mike
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
guyfawkes
Member
Member
Posts: 93
Joined: Mon Jul 18, 2011 9:47 am

Re: MikeOS 4.1 released

Post by guyfawkes »

Great work mike, your OS just gets better and better, MikeOS has inspired many OS's, including the project you mentioned "BareMetal" which i also follow closely.
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: MikeOS 4.1 released

Post by Kazinsal »

Wow, this is pretty dang cool. Definitely inspiration to keep working on what I'm working on.

I'll work on porting MikeOS Basic after Blacklight OS can load stuff from disk for sure.
Post Reply