TXG/MNX Posted March 29, 2011 Share Posted March 29, 2011 (edited) Hi, Who can fix lunix to run on a real atari 8-bit? Now it only works on an emulator Lunix Edited March 29, 2011 by TXG/MNX 1 Quote Link to comment Share on other sites More sharing options...
invisible kid Posted March 29, 2011 Share Posted March 29, 2011 Does it even run on an emulated atari 8bit? I ask because of this quote on the page you linked: LNG is an operationg system primarly for the good old Commodore64 home-computer. There also is a native version for the successor Commodore128. Ports to other 6502/6510 driven 8Bit Computers are possible but not yet started. LUnix started in 1993 and reached the internet in 1994. In 1997 LUnix0.1 was rewritten from scratch, the result is LNG. Quote Link to comment Share on other sites More sharing options...
Beetle Posted March 29, 2011 Share Posted March 29, 2011 (edited) Afair Lunix boots on a8, but is limited to the CLI. With lack of disk access, no executables can be run. I vaguely remember booting it from my SIO2SD device (ie no DOS boot disk). Right now, i can't remember where i found that binary. Will look and update! It would indeed be great to see this running on the XL/XE! Edited March 29, 2011 by Beetle Quote Link to comment Share on other sites More sharing options...
Beetle Posted March 29, 2011 Share Posted March 29, 2011 I found an old post from myself on abbuc forums. In there i found out that i copied an .atr image to my own webspace. Klick me to download Lunix NG 0.21 So, it was an ATR and no binary. You may have tested the very same image, i still can't remember where i got it. Greetings, Beetle 1 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted March 29, 2011 Share Posted March 29, 2011 Doesn't work so well, but sources are interesting. Quote Link to comment Share on other sites More sharing options...
Beetle Posted March 29, 2011 Share Posted March 29, 2011 Wanna fix it and then use your GUI on it? Now that would make you a hero Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted March 29, 2011 Share Posted March 29, 2011 Ahem... maybe when I make version 2, with multi-threading. Quote Link to comment Share on other sites More sharing options...
JohnBuell Posted March 29, 2011 Share Posted March 29, 2011 Ahem... maybe when I make version 2, with multi-threading. Wouldn't we have to give up the 6502s to get THAT to work? Quote Link to comment Share on other sites More sharing options...
danwinslow Posted March 29, 2011 Share Posted March 29, 2011 No, multi-threading is fairly easy on a 6502, actually. Involves stack and zp copying or partitioning and optionally an interrupt to drive it. Now whether its practical or not is another story. 1 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted March 29, 2011 Share Posted March 29, 2011 Indeed. I've already considered a simple task switching facility using just that technique. If we copy an application's code and ZP registers, stack, etc, into extended banks, we can swap another running application into that space. However, doing that in a true multi-tasking manner is a rather different proposition, mainly because of the awful linear memory constraints we have to deal with. A bunch of 16KB apps all compiled to $4000... not so difficult, but rather limited in application. Quote Link to comment Share on other sites More sharing options...
danwinslow Posted March 29, 2011 Share Posted March 29, 2011 Threading on a single processor system is kind of an illusion anyways...it's really more about simplifying the act of busy waiting than anything else. It can be simulated without any actual threading going on. Plus it adds a TON of complication under the hood, and if it's pre-emptive then you need to have mutexes and locking semantics. I recommend avoiding it. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted March 29, 2011 Share Posted March 29, 2011 (edited) Task switching might - I think - prove useful. It's easier to implement, and not so time critical. However, I think that given the provision for desk accessories in the GUI, it's not a major concern. Edited March 29, 2011 by flashjazzcat Quote Link to comment Share on other sites More sharing options...
danwinslow Posted March 29, 2011 Share Posted March 29, 2011 true. I was thinking that for the GUI, maybe giving every app an inherent 'idle' timer would be a good way to go, so that it gets pulsed occasionally even if its not being driven by a particular event. If it doesn't handle it, then nothing happens, but if it does then thats sort of like multi-threading. Not sure what you mean by 'task switching' as opposed to threading. Do you mean non-preemptive vs. preemptive? If you do, I heartily agree that non-preemptive is the way to go on our platform. Quote Link to comment Share on other sites More sharing options...
Beetle Posted September 15, 2018 Share Posted September 15, 2018 Hi there, i digging out this old thead. I was asked if i still have the atr file i linked in my initial posting. After a provider change, that file is 404 now. Did someone download it and decided to keep it? When i try to compile the disk, i get a segfault... Greets, Beetle Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted September 15, 2018 Share Posted September 15, 2018 (edited) Hehe, found the Lunix version I downloaded somewhere (not from your given link!) in a folder named "ALTDOS" (short for alternative DOS / OS). Might not be the latest version though... LUNIX.zip Edited September 15, 2018 by CharlieChaplin Quote Link to comment Share on other sites More sharing options...
+DrVenkman Posted September 15, 2018 Share Posted September 15, 2018 (edited) So with BASIC disabled, that disk image boots to Turbo DOS XE. If I try LOAD LUNIX.BIN, Altirra crashes with most of my usual tries (XL OS, XE OS, OS b), with and without expanded memory ... Altirra crashes every time. Edited September 15, 2018 by DrVenkman Quote Link to comment Share on other sites More sharing options...
ivop Posted September 15, 2018 Share Posted September 15, 2018 Do you mean that the emulated Atari computer crashes or that Altirra itself crashes? Quote Link to comment Share on other sites More sharing options...
+DrVenkman Posted September 15, 2018 Share Posted September 15, 2018 Do you mean that the emulated Atari computer crashes or that Altirra itself crashes? The emulated Atari crashes. Sorry, I was imprecise. Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted September 15, 2018 Share Posted September 15, 2018 (edited) Well, Beetle said that Lunix boots on the A8 - but me, I never got it to run/execute from a DOS 2.x (no luck with Turbo-DOS, DOS 2.5 and MyDOS)... as said before, the version I have might be an older one that may or may not run on the A8... But maybe this Linux errm, Lunix version does not run from DOS at all and needs a gamedos, bootloader, XBIOS, Bootmajster, etc. ?!? Think I downloaded it from the author's or the project's webpage, but several years later now, I do not remember anymore... Edited September 15, 2018 by CharlieChaplin Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted September 16, 2018 Share Posted September 16, 2018 ask Carsten Strotmann or TXG/MNXI should think the peeps at ABBUC should have it, I am surprised they didn't re write it already and make a fork for PBI devices and shoe horn a sio wedge into it Quote Link to comment Share on other sites More sharing options...
tschak909 Posted September 16, 2018 Share Posted September 16, 2018 am actually surprised that FUZIX hasn't made it over to the 6502, yet... -Thom Quote Link to comment Share on other sites More sharing options...
Beetle Posted September 16, 2018 Share Posted September 16, 2018 I'll have a look at it after my upcoming vacation. That 0.21 image has to be somewhere on my data graveyard. And i know it was booting to a command line. 1 Quote Link to comment Share on other sites More sharing options...
Lastic Posted September 16, 2018 Share Posted September 16, 2018 (edited) Hehe, found the Lunix version I downloaded somewhere (not from your given link!) in a folder named "ALTDOS" (short for alternative DOS / OS). Might not be the latest version though... I was the person who asked Beetle wether he still had his compiled LUnix 0.21 ATR . I mostly use Linux/OSX/BSD so finding out there was a fork to Atari immediately sparked my interest. Having tried myself to compile version 0.19/0.21 but also ending up with a segfault and in the end a non-booting ATR after some Makefile tweaking , there must have been specific Makefile in order to succesfully compile it. CharlieChaplin , your version is 0.19 which boots when you set Altirra to XL/XE, 64K , PAL. No luck booting it on my PAL 130XE. I remembered from reading the authors notes that he built it on an emulator but had ran it on a 65XE. Hower it just boots to init after which you can l(oad) a command but to my understanding those haven't been converted/created for the Atari 8 bit (yet). Also realised the correct command is lsh without spaces between but no luck either. Edited September 16, 2018 by Lastic Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted September 16, 2018 Share Posted September 16, 2018 Well, I do have 5 Atari 800XL PAL computers, 1x with 64k RAM and 4x with 576k RAM, Lunix does not run on any of them. Whenever I try to load it with a DOS, it crashes during or at the end of the load process. So how do you boot/load it ? With a bootloader, gamedos or what ? Or does this version run only under emulation and not on the real thing ? Quote Link to comment Share on other sites More sharing options...
Lastic Posted September 17, 2018 Share Posted September 17, 2018 I only have a 130XE and have only able to boot your version on Altirra using the supplied Turbodos XE on the ATR by typing load , then Return and then selecting Yes on either Lunix.bin or Lunix.xex, it then boots to the kernel (init) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.