06 February 2014, 05:46 | #1 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
SAS/C 6.58 on 1.3
Hello,
I'm using SAS/C with KS 34 and it runs very well but I have some trouble setting up the environment correctly. I realize this isn't a coding question as such but I figured if anyone would know how to configure this correctly, it would be you guys. So, my startup-sequence contains the following: Code:
Assign ENVARC: sys:prefs/env-archive Assign ENV: RAM:ENV copy >nil: ENVARC: ram:env all quiet Makedir env:sc [...] assign sc: gary:devel/c/sasc assign lib: sc:lib assign include: sc:include assign cxxinclude: sc:cxxinclude I think this has to do with the ENV/ENVARC settings as this is actually for 2.0. However, I was told this should work in 1.3 as well, but I don't know how |
06 February 2014, 23:30 | #2 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
i think wb/ks 1.3 does not know about ENVARC: / ENV: at all.
in the binary of the SE tool you can see ENV: and ENV:SC only since you assign ENV: to ram:env , all your setting are gone, after a reset. maybe try this - just once in a shell/cli: Code:
makedir sys:prefs/env-archive/sc copy gary:devel/c/sasc/env/se.dat sys:prefs/env-archive/sc/ copy gary:devel/c/sasc/env/se.msg sys:prefs/env-archive/sc/ in startup-sequence: Code:
Assign ENVARC: sys:prefs/env-archive Assign ENV: ENVARC: ;Assign ENV: RAM:ENV ;copy >nil: ENVARC: ram:env all quiet ;Makedir env:sc files changes inside them will survive a reset. Code:
assign sc: gary:devel/c/sasc assign lib: sc:lib assign include: sc:include assign cxxinclude: sc:cxxinclude path sc:c add about the file loading - in the se binary you can read "asl.library" - this file-requester library exists only for wb/ks 2.0 or greater. so i think you wont see a file-requester on wb/ks1.3 at the lower part of the SE window, i saw something like "enter filename at cursor position" made me some headache, so i gave up for now Last edited by emufan; 06 February 2014 at 23:38. |
06 February 2014, 23:44 | #3 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Ahhhh!
And now it all makes sense. This works like a charm. Thank you very much; now SAS/C is running perfectly. On another note: 1.3 does know about ENV: (RAM:ENV is created by the default workbench startup-sequence). Would it make sense to use ram:env BUT before powering off/rebooting saving it to env-archive which will be loaded back into RAM: on next boot? However, I am not sure it would make any difference in terms of performance, even though sys: is mounted as a static .hdf file. |
07 February 2014, 16:45 | #4 | ||
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
Quote:
I was not sure about env: on Wb1.3 - there must be some kind of mechanic, the "env-handler" writes back entries from env: to envarc: once files get manipulated in env: - maybe this does not work correct in wb1.3 . no clue here. performance wise it would not make big difference, i think. |
||
07 February 2014, 17:12 | #5 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
I am aware of that. I was thinking of manually playing back the files.
Like making a shutdown.sh script that does that. But we're off-topic here. Thanks for your help! |
07 February 2014, 17:47 | #6 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
you can basicaly do something like this in a script (shutdown.sh):
Code:
copy >nil: ram:env sys:prefs/env-archive all quiet or copy >nil: env: envarc: all quiet echo "done, shutdown now :)" before this you should undo the startup-sequence changes: Code:
Assign ENVARC: sys:prefs/env-archive Assign ENV: RAM:ENV copy >nil: ENVARC: ram:env all quiet not a masterpiece script, but something you can develop |
07 February 2014, 19:35 | #7 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Yes, I was thinking about something like this.
However, considering I run this in WinUAE, would it be worth it? I would think the access time to read/write from the .hdf is inconsiderably longer than from ram: |
07 February 2014, 21:08 | #8 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
|
07 February 2014, 21:33 | #9 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
This should probably be moved into the general coders forum.
Anyway, I certainly agree. I'm working on setting up a HDF image with 1.3 OS that has all kinds of programming/developing software. So far I got: C/C++: SAS/C 6.58 Lattice C 5.04 Aztec C 5.0a DICE 3.1 Maxxon C++ 1.01.6 Assembly: a68k 2.71 ASM-One 1.02 (Max) ASM-One 1.05 (TFA) ASM-One 1.06 (TFA) ASM-One 1.15 (TFA) ASM-One 1.20 (TFA) AssemPro Devpac 2.04 Devpac 3.0 Kick-Ass 1.95 Masterseka 1.8 Maxon Assembler 1.2 SEKA 2.0 SEKA 3.20 Trash'm-ONE 1.6 Trash'm-ONE 1.7 Other: BlitzBasic Hisoft Basic HiSoft Pascal Maxon Pascal AMOS 2.0 ARexx Still looking for stuff, but it's kinda hard to find... |
09 February 2014, 14:27 | #10 |
(2b)||!(2b)
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
|
I'm presuming you're looking for coding stuff - what are you looking to find, I've got loads of software sat on my PC.
|
09 February 2014, 18:38 | #11 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Basically I am looking for any kind of good/historic/famous software that runs on 1.3. Apart from programming languages and IDEs I also collect useful applications like Dpaint or editors like vim.
There are a lot of setups for games and you can basically find every game you want. For applications though it is harder, thus I am interested in making one nice setup (I am saving the installers as well if they come with one). Mind if I get in touch via PM? |
09 February 2014, 18:51 | #12 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
|
|
09 February 2014, 19:13 | #13 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
I think ReSource required 2.0+, I think I failed installing it on 1.3 (or at least the version I had)
|
09 February 2014, 20:00 | #14 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
3.06 was made in 1988/89 so it does work on 1.3 there is also the eab fileserver - using it's search engine, you may find other goods |
|
09 February 2014, 20:18 | #15 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Ahh, that's how The Zone works. Thanks, much appreciated. I'll parse through it and add what I think makes sense.
FWIW, I'll ofc share the .hdf if anyone is interested. But it's still WIP atm. It does have the new 2.0 Filesystem, too (which works for 1.3). |
09 February 2014, 20:24 | #16 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
eab fileserver - only the search for backuped-zone-files does not work as expected (they do not appear on webbased search results - i reported this already). those ready-to-use hdd would be usefull for sure |
|
09 February 2014, 20:25 | #17 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,349
|
ReSource version 5 should work on Kickstart 1.3. 5.10 is the latest 5.x version I have.
Last edited by mark_k; 09 February 2014 at 21:07. |
09 February 2014, 20:37 | #18 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
hmm, would gladly make sure that it does work
EDIT: 3.06 works fine, thanks EDIT2: Thx Mark, adding 5.10 as well Last edited by marduk_kurios; 09 February 2014 at 21:13. Reason: addition |
09 February 2014, 21:16 | #19 |
(2b)||!(2b)
Join Date: Mar 2007
Location: Cranbrook, Devon, UK
Age: 50
Posts: 241
|
sure, if ypou weant to PM go ahead
Apologies fo typos I'vegiven up editing my text as there are too many any this morrphine /diazepam is to blame and without it I'll be in agony. |
09 February 2014, 21:18 | #20 |
move $dff006,$dff180
Join Date: Feb 2014
Location: USA
Posts: 66
|
Ooops. I hope you are okay... :S
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SAS C v6.50 | Avanaboy | request.Apps | 2 | 22 April 2012 02:48 |
Sas/c | Tiddlypeeps | Coders. General | 15 | 08 February 2010 00:32 |
Sas C 6.58 | AmiCoder | request.Apps | 3 | 06 February 2010 01:19 |
Sas C V 6.0 | Jherek Carnelia | request.Apps | 1 | 20 March 2007 10:13 |
Sas C | Scoglio | request.Apps | 0 | 28 October 2002 11:13 |
|
|