2017-09-22 15:25:21 +00:00
# A2osX (0.9.1) Multi-Tasking OS for Apple II
2017-08-23 11:31:35 +00:00
2017-11-08 16:09:52 +00:00
## Disk images :
2017-09-22 15:25:21 +00:00
2017-10-04 15:12:03 +00:00
+ **A2OSX.BOOT.po** : ** (0.9.1)** 140k BOOT disk image with all binaries
+ **A2OSX.DEV.po** : ** (0.9.1)** 140k disk image with ASM binaries, Debug Tools & INClude files
2017-12-30 22:14:05 +00:00
+ **A2OSX.BUILD.po** : ** (0.9.1)** 800k BOOT disk image with S-C MASM 3.0 and all binaries (BOOT+DEV)
2017-09-22 19:59:14 +00:00
+ **A2OSX.SRC.po** : ** (0.9.1)** 800k disk image with all sources
2017-09-22 15:25:21 +00:00
2018-04-29 19:10:13 +00:00
## Latest News 2018-04-29
2018-05-25 19:03:31 +00:00
Kernel 0.9.1 is now preemptive.
It defaults to cooperative mode ('P'olling mode). For this, no particular hardware needed (except 65c02 and 128k, of course!)
If you want to enable preemptive mode, all you need is a "tick" source to get 'V'BL or 'C'lock Mode.
(see below for supported hardware)
Then you must explicitly ENABLE it using KCONFIG utility. (see screenshot below)
You can monitor the kernel state on the 'SYS' screen (OA-1, or SHIFT-OA-1 on french keyboards) and look at the upper right corner, ytou should see a blincking 'P', 'V' or 'C', showing you the current kernel state..
If you enabled preemptive mode, you should see an additional blinking 'S', each time the kernel switch from one PS to another.
Reminder :
+ (SHIFT)-OA-1 : Kernel SYS Screen
+ (SHIFT)-OA-2 : Console Screen (Shell...)
+ (SHIFT)-OA-3 : DHGR Screen (if loaded)
2018-04-29 19:10:13 +00:00
For now, only SBIN/BIN executables are "switcheable".
Roadmap is as follow:
+ Check all BIN/SBIN sources to make them preemptive compliant, most of them are NOT.
+ Add a way to make LIB also interruptible and reentrant.
+ Add more supported hardware for system clock.
+ ...and still hoping finding few contributors.... :-(
2017-11-08 16:09:52 +00:00
## Latest News 2017-11-08
Kernel 0.9.1 stable enough to resume building.
+ KM.APPLETALK module not crashing anymore
2017-11-28 16:32:38 +00:00
(Undocummented AtInit function, had to go further in official ATINIT disassembly)
2017-11-08 16:09:52 +00:00
+ Improved Command Line editing and history.
(SUPPR key is emulated with Ctrl-X using //e keyboard)
2017-12-08 16:10:39 +00:00
+ New DevMgr enumeration strategy, now including /RAM and other virtual Block Devices
2017-11-08 16:09:52 +00:00
2017-11-28 16:32:38 +00:00
+ Math API (Hacked from APPLESOFT ROM ;-)
2017-11-08 16:09:52 +00:00
+ CSH Script engine in progress within Shell (In progress)
## Latest News 2017-09-22
2017-10-04 15:12:03 +00:00
(once Kernel 0.9.1 stable enough, BOOT & DEV will be updated) __ (done!)__
2017-09-22 15:25:21 +00:00
**0.9 has been archived, next Kernel Version is 0.9.1**
2017-08-23 11:33:51 +00:00
2017-09-22 15:25:21 +00:00
+ More Standard C API compliance __ (done!)__
+ API Cleanup, many functions still use shared space __ (done!)__
+ Per process Stack Segment __ (done!)__
+ Larger S.PS structure __ (done!)__
2017-08-23 11:31:35 +00:00
+ ...
2018-04-29 19:10:13 +00:00
+ to allow...Preemptive!
2017-08-23 11:31:35 +00:00
2017-09-22 15:25:21 +00:00
2018-04-29 19:10:13 +00:00
**"System Tick" sources for preemptive mode :**
2017-09-22 15:25:21 +00:00
| Hardware | Resolution | Status | Comment |
| -------------------------| ---------- | ----------- | ------- |
| //c,//c+,IIgs Mouse port | 50/50 Hz | Working | Supported at Kernel level, no conflict with GUI's Mouse.DRV (not required to be loaded), requires setting "Machine Timing" properly in KConfig Utility |
| IIe Mouse Card | 50/50 Hz | Working | (same as above) |
2017-12-22 21:24:30 +00:00
| ThunderClock Plus | 64 Hz | Working | gave up fixing this faulty H/W, thanx to JACE emulator! |
2017-09-22 15:25:21 +00:00
| ... Any suggestion ? | | | |
2017-04-02 21:50:20 +00:00
2017-08-01 19:41:01 +00:00
## !!!HELP NEEDED!!!
Thanx a lot for all positive comments i read here and there, but i definitively need contributors & testers.
Anybody wants to join this project ?
2017-08-01 19:43:59 +00:00
If you're interested on contributing, please send a message with your skills and in which area you are interested to work on (Network, Kernel, device drivers for additional hardware support, GUI, graphical resourses, command line tools....)
2017-08-01 19:41:01 +00:00
This is some sort of "last hope call", some of you were right, this project is really huge!!!
2017-08-01 19:43:59 +00:00
Anyway, i'm convinced that a small team of developers could reach "version 1.0" with GUI & network support in few months....i'm working on it for...4 years now, spending the most of my free time fixing hardware to test this code instead of...writing it!
2017-08-01 19:41:01 +00:00
Well, let me know if you can bring "fresh blood" to this stuff...
2017-04-02 21:50:20 +00:00
## Requires :
Enhanced IIe (65c02 cpu) with 128k, //c, IIgs
## Introduction...
A2osX is a cooperative, event-driven multitasking kernel (meaning it is applications that are responsible to give back control to kernel)
Its principal goal is to collect all "genius" 65c02 pieces of code ever written here and there, concentrated in the same environment.
(including IP Stack & HTTPD/TELNETD..., GUI & graphical tools...)
"Complete working place", no needing any more to reboot to switch between tons of diskettes!!!
2017-04-02 22:03:38 +00:00
A2osX is designed to work on any "stock" 128k Apple //e, with no additional hardware. As VBL signal is NOT available as an IRQ on //e (it is on //c & IIgs)
2017-08-23 11:31:35 +00:00
it makes preemptive multitasking impossible.
2017-04-02 22:03:38 +00:00
2017-08-25 06:37:21 +00:00
__A new attempt using Mouse card VBL IRQ is targeted in 0.9.1.__
2017-04-02 22:03:38 +00:00
2017-04-02 21:50:20 +00:00
Kernel, loading in Aux LC on top of ProDOS provide API inspired from Linux/Unix World to allow writing applications & command line tools on top of it.
This kernel provides an advanced "Memory Manager" able to relocate 65c02 code.
"Event Manager" makes TCPIP stack able to listen on several ports, manage ARP,DNS...cache expiration and any background processes.
"Task Manager" is responsible to "distribute" CPU time to several loaded processes.
2017-04-02 22:03:38 +00:00
"Device Manager" handles event collected from builtin devices as well as devices added by loadable drivers.
If you're 65c02 or Z80 code writer, how to contribute ?
Several subprojects are now indentified :
+ Hardware Support : adding drivers to support more & more hardware (RAM cards, storage....)
2016-11-14 10:21:46 +00:00
+ Z80 support : Kernel could pass control to any Z80 detected on the system.
2017-04-13 20:59:25 +00:00
+ TCP/IP stack
2017-04-02 22:03:38 +00:00
+ AppleTalk Support
+ GUI & Printing
+ Archive, Disk Image transfer tools (ADT client!)...
2017-08-01 19:41:01 +00:00
+ Question : Pascal or C Compiler?
+ --> Answer : C compiler....Next version of Kernel API will be closer to STDLIBC, Genralize the use of C-Strings
2017-04-02 22:03:38 +00:00
+ ...sure there is some more!
2017-04-02 21:28:04 +00:00
2017-04-02 22:03:38 +00:00
## Screenshots
2017-04-02 21:28:04 +00:00
2017-12-08 16:10:39 +00:00
UNIX-Like Shell...
2017-12-12 07:27:36 +00:00
2017-04-02 21:28:04 +00:00
![](./.screen-shots/ScreenShot.LS.png)
2017-12-08 16:10:39 +00:00
TCP/IP Stack...
2017-04-02 21:28:04 +00:00
![](./.screen-shots/ScreenShot.IP1.png)
![](./.screen-shots/ScreenShot.IP2.png)
2017-12-08 16:10:39 +00:00
Full screen editor ...
2017-04-30 11:42:15 +00:00
![](./.screen-shots/ScreenShot.EDIT.png)
2017-12-08 16:10:39 +00:00
Kernel Configuration Utility...
2017-04-30 11:42:15 +00:00
![](./.screen-shots/ScreenShot.KCONFIG.png)
2018-05-23 15:27:37 +00:00
Color ANSI/VT100 Support...
2017-12-08 16:10:39 +00:00
2017-04-02 21:28:04 +00:00
![](./.screen-shots/PuTTY.png)
2018-05-23 15:27:37 +00:00
DHGR Mixed-Mode Graphic primitives....
![](./.screen-shots/ScreenShot.GFX.png)
2017-04-02 21:28:04 +00:00
## General Information:
2017-09-21 15:29:45 +00:00
Kernel API is confined in Aux LC Bank 1 & 2 to leave enough room at $EOOO for Drivers.
2017-04-02 22:03:38 +00:00
Network drivers, Mouse, DHGR.DRV can load and fit in Aux LC.
Now it's time to make all external BINs use new API, then GUI development will resume.
OApple+1,OApple+2,OApple+3 to switch between screens : Kernel Log, text, DHGR.
(OApple+shift+1,OApple+shift+2,OApple+shift+3 on FR keyboard)
2016-03-13 22:05:10 +00:00
2016-01-25 20:06:14 +00:00
## SYS/KM* Supported Hardware At Kernel Level (ProDOS):
2017-04-02 22:03:38 +00:00
| KM.Name | Status | Comment |
| ------- | ------ | ------- |
| KM.NSC | Working | No-Slot-Clock/DS1216E |
| KM.RAMWORKS | Working | AE-Ramworks I,II,III |
| KM.VSDRIVE | Working | ADTPro Virtual Drive for SSC |
2017-01-23 21:32:06 +00:00
| KM.APPLETALK | Working | AppleTalk Support for ProDOS |
2017-04-02 22:03:38 +00:00
## SBIN,Daemons/Commands:
| Name | Status | Comment | K.Ver |
2017-09-19 15:34:01 +00:00
| ---- | ------ | ------- | ------|
2017-09-21 15:29:45 +00:00
| INSDRV | Working | | 0.9.1 |
| GETTY | Working | | 0.9.1 |
| LOGIN | In Progress | no auth using /etc/passd yet | 0.9.1 |
| SHELL | Working | (See Internal Shell commands) | 0.9.1 |
| KCONFIG | Working | Kernel Configuration Utility | 0.9.1 |
2017-04-17 19:36:00 +00:00
| ---- | ------ | ------- | ----- |
2018-05-24 15:21:38 +00:00
| TCPIPD | Working | Socket API.ARP,IP,ICMP,UDP & TCP ok | 0.9.1 |
| DHCPCLNT| Working | rewritten to use new Socket API | 0.9.1 |
2017-04-13 20:59:25 +00:00
| TELNETD | In Progress | | 0.9 |
| HTTPD | In Progress | | 0.9 |
2017-04-02 22:03:38 +00:00
## Internal Shell commands:
| Name | Status | Comment |
| ---- | ------ | ------- |
| CD | Working | Improved syntax : now, 'CD ../BIN' works |
| PWD | Working | |
| DATE | Working | |
2017-04-07 06:31:47 +00:00
| ECHO | Working | \b,\e,\f,\n,\\\ and \\% supported |
2017-04-02 22:03:38 +00:00
| EXIT | Working | |
| PAUSE | Working | |
| READ | Working | -S : no echo (password) |
| | | -P : "prompt message" |
| TIME | Working | |
| SET | Working | |
2017-09-19 15:34:01 +00:00
| SLEEP | Working | |
2016-10-29 20:14:43 +00:00
| STARTPROC | Working | Used in A2osX.startup |
2017-04-02 22:03:38 +00:00
## Shell variables:
| Name | Status | Comment |
| ---- | ------ | ------- |
| $PWD | Working | 'Working Directory' |
| $0 | Working | Command Full Path |
2016-10-29 19:54:37 +00:00
| $1-$9 | Working | Arg[n] |
2017-04-02 22:03:38 +00:00
| $* | Working | All Args |
| $# | Working | Arg Count |
| $? | Working | Return Code |
| $@ | Working | Parent PID |
| $$ | Working | PID |
| $! | Working | Child PID |
note : '$VAR' does NOT expand Variable
2016-10-29 19:54:37 +00:00
2017-04-02 22:03:38 +00:00
## DRV,Drivers:
2016-10-29 19:54:37 +00:00
2016-10-17 15:47:50 +00:00
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
2017-09-21 15:29:45 +00:00
| Console.DRV | Working | ANSI support in Progress. | 0.9.1 |
2017-09-27 15:40:31 +00:00
| SSC.DRV | Working | Apple "Super Serial Card" Driver | 0.9.1 |
| SSC.I.DRV | Working | Apple "Super Serial Card" Driver (IRQ enabled) | 0.9.1 |
2017-04-17 19:36:00 +00:00
| PIC.DRV | In Progress | Apple "Parallel Interface Card" Driver, renamed from PPIC.DRV | 0.9 |
2018-01-15 16:51:44 +00:00
| Mouse.DRV | Working | Apple Mouse Card,//c Mouse Port | 0.9.1 |
| DHGR.DRV | Working | 560x192 Mono/16 colors Mixed-Mode support | 0.9.1 |
2017-02-22 07:31:16 +00:00
| ---- | ------ | ------- | ----- |
2018-01-15 16:51:44 +00:00
| LanCeGS.DRV | Working | | 0.9.1 |
| Uthernet.DRV | Working | | 0.9.1 |
| Uthernet2.DRV | Working | | 0.9.1 |
2017-04-17 19:36:00 +00:00
| Uther2.AI.DRV | In Progress | With ARP/IP Offloading | 0.9 |
2017-04-02 22:03:38 +00:00
## BIN,External Shell commands:
2016-10-07 19:27:49 +00:00
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
2017-09-21 15:29:45 +00:00
| MEM | Working | Old dump behavior is now MEMDUMP. New MEM command displays MEMSTAT (Main, Aux & Kernel Memory) | 0.9.1 |
| LSDEV | Working | | 0.9.1 |
| PS | Working | | 0.9.1 |
2017-09-22 06:38:22 +00:00
| MD | Working | | 0.9.1 |
2017-09-27 15:40:31 +00:00
| LS | Working | -A : Do Not Print . & .. | 0.9.1 |
2016-10-31 21:38:53 +00:00
| | | -L : long listing with size/date... | |
2016-10-29 20:14:43 +00:00
| | | -R : Recurse subdirectories | |
2017-10-04 15:12:03 +00:00
| RM | Working | -C : Continue On Error | 0.9.1 |
2017-06-23 12:04:39 +00:00
| | | -Q : Quiet | |
2016-10-29 20:14:43 +00:00
| | | -R : Recurse subdirectories | |
2017-10-03 15:33:30 +00:00
| CP | Working | -C : Continue On Error | 0.9.1 |
2017-06-23 12:04:39 +00:00
| | | -Q : Quiet | |
2016-10-29 20:14:43 +00:00
| | | -R : Recurse subdirectories | |
| | | -Y : Dont't Prompt For Override | |
2017-10-04 15:12:03 +00:00
| MV | Working | -C : Continue On Error | 0.9.1 |
2017-06-23 12:04:39 +00:00
| | | -Q : Quiet | |
2016-10-28 09:37:57 +00:00
| | | -R : Recurse subdirectories | |
2016-10-29 20:41:01 +00:00
| | | -Y : Dont't Prompt For Override | |
2017-09-21 15:29:45 +00:00
| CAT | Working | -A : Show All non printable caracters | 0.9.1 |
2016-10-31 21:38:53 +00:00
| | | -N : Number all output lines | |
| | | -S : Suppress repeated empty output lines | |
2017-10-04 15:12:03 +00:00
| CHTYP | Working | -C : Continue On Error | 0.9.1 |
2017-04-03 21:13:46 +00:00
| | | -R : Recurse subdirectories | |
| CHMOD | In Progress | -C : Continue On Error | 0.9 |
| | | -R : Recurse subdirectories | |
| CHOWN | In Progress | -C : Continue On Error | 0.9 |
| | | -R : Recurse subdirectories | |
| CHGRP | In Progress | -C : Continue On Error | 0.9 |
| | | -R : Recurse subdirectories | |
2017-10-03 15:33:30 +00:00
| FORMAT | In Progress | -L : Low-Level Format | 0.9.1 |
2018-04-19 12:06:21 +00:00
| | | -1..9 : Catalog Size (block count) | |
2018-04-18 15:18:32 +00:00
| MD5 | In Progress | -D : String Input | 0.9.1 |
2018-01-15 16:51:44 +00:00
| EDIT | Working | still missing : find/replace | 0.9.1 |
2017-02-21 17:01:30 +00:00
| NSCUTIL | Working | Tool for setting time in NSC/DL1216E | 0.9 |
2017-02-22 07:31:16 +00:00
| ---- | ------ | ------- | ----- |
2018-05-24 15:21:38 +00:00
| ARP | Working | dump ARP cache, setup a static ARP entry | 0.9.1 |
| PING | Working | | 0.9.1 |
| DNSINFO | Working | dump DNS cache, setup a static DNS entry | 0.9.1 |
| IPCONFIG | Working | renamed from NETINFO | 0.9.1 |
| NETSTAT | Working | | 0.9.1 |
2017-04-02 22:03:38 +00:00
## BIN,External DEV Shell commands:
2016-10-07 20:48:49 +00:00
| Name | Status | Comment | K.Ver |
| ---- | ------ | ------- | ----- |
2018-01-15 16:51:44 +00:00
| ASM | In Progress | S-C MASM based multi CPU assembler | 0.9.1 |
2017-09-21 15:29:45 +00:00
| MEMDUMP | Working | | 0.9.1 |
2017-10-04 15:12:03 +00:00
| ---- | ------ | ------- | ----- |
2018-05-24 15:21:38 +00:00
| RPCDUMP | Working | tool based on UDP socket API, renamed from RPCINFO | 0.9.1 |
2017-04-02 22:03:38 +00:00
## Misc
### S-C MASM color scheme for Notepad++
...drop _Tools/userDefineLang.xml in %APPDATA%\Notepad++
2016-01-25 19:48:22 +00:00
;-)