Difference between revisions of "The TinyCore MicroKernel"

From C256 Foenix Wiki
Jump to navigation Jump to search
(Created page with "== MicroKernel == The TinyCore MicroKernel comes installed by default. It is an advanced kernel with an integrated IP stack. Flash blocks are available from both the kernel/...")
 
(MicroKernel)
Line 17: Line 17:
 
* 1 - If ON, the kernel will auto-start the first program found in the first 64k  
 
* 1 - If ON, the kernel will auto-start the first program found in the first 64k  
 
</pre>
 
</pre>
 +
 +
The kernel presently registers three block devices:
 +
* 0 - internal SD Card
 +
* 1 - IEC device #8
 +
* 2 - IEC device #9
 +
 +
* These devices may be selected from DOS by typing "0: <enter>", etc.
 +
* These devices may be selected from SuperBASIC by typing "drive 0 <enter>", etc.
 +
* DOS and the C libraries will parse an optional drive index out of filenames, eg "0:test.txt".

Revision as of 13:01, 23 January 2023

MicroKernel

The TinyCore MicroKernel comes installed by default. It is an advanced kernel with an integrated IP stack.

Flash blocks are available from both the kernel/dos github repo: https://github.com/ghackwrench/F256_Jr_Kernel_DOS

Flash blocks tested with the latest SuperBASIC may be found in the source/releases folder of the SuperBASIC project: https://github.com/paulscottrobson/superbasic

When using the MicroKernel, the dip switches act as follows:

* 8 - enable gamma color correction
* 7 - 640x480x60 if on, 640x400@70 if off.  Not presently implemented.
* 6 - Enable scanning of a CBM keyboard (F256-Jr); Sound expansion installed (F256-K)
* 5 - SIDS are installed
* 4 - SLIP enabled
* 3 - Serial description: If SLIP is enabled, ON implies WIFI mode; if SLIP is disabled, ON implies MIDI mode.
* 2 - Not yet assigned
* 1 - If ON, the kernel will auto-start the first program found in the first 64k 

The kernel presently registers three block devices:

  • 0 - internal SD Card
  • 1 - IEC device #8
  • 2 - IEC device #9
  • These devices may be selected from DOS by typing "0: <enter>", etc.
  • These devices may be selected from SuperBASIC by typing "drive 0 <enter>", etc.
  • DOS and the C libraries will parse an optional drive index out of filenames, eg "0:test.txt".