English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 01 November 2014, 23:24   #261
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
New version of dos.library is available.
Checked all BCPL routines, written in ASM, some bytes gained.
Added original comments (plus a few mine) for these routines.
Some comments can be outdated, due changes/optimisations.
For hunting for possible bugs the best is test this version with
programs written in BCPL, mostly (only?) old Amiga programs like parts
of WB 1.3.
Don_Adan is offline  
Old 13 November 2014, 18:26   #262
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
New version of dos.library is available for tests.
Optimised LVORequester.
Added more original comments to the source code.
Updated LVOReadArgs related routines to v42.1, mostly less stack usage.
Updated LVOSetVBuf routine to v42.1.
* /* if size is -1 and buff is NULL only change mode */
* // if fh_Type (port) is NULL then this is a NIL: filehandle, so
* // silently ignore the call (success). If we let this go through,
* // it will set Func3, and actend will be called, and it will try
* // to send a packet to NULL (very bad).
Bumped dos.library version to v42.2.

Code:
; Resourced version of dos library (40.3) from Amiga ROM 3.1 for Amiga68k ROM 1.0
; Some parts are taken from dos.library 42.1.
; For easy recognition all changes are done using lower cases and ";" signs
; Original code is removed with ";" signs
; New code is added using lower cases only
; Some parts are moved for better/easy handling
; Unused old code is removed after some time.

; Originally written by:

; jesup (Randell Jesup)
; steveb (Steve Beats?)
; cdh
; kodiak (Bob Burns)
; andy (Andy Finkel)
; TJK
; NHG (Nesbitt, Horanoff, Greenwald ?)
; Martin Richards
; krs (Ken Salomon)
Don_Adan is offline  
Old 14 November 2014, 20:08   #263
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
In cosmo's optimised dos.library he did :
- removed all 68000/010 support
- removed some unused code
- many absolute address turned relative
- set stack to 4000 for PRT, PAR, SER, RAW, CON & RAM (SetPatch v44.38)
- R_Cli optimized a bit
- R_CurrentDir optimized a bit
- R_Input optimized a bit
- R_IoErr optimized a bit
- R_Output optimized a bit
- R_GetArgStr optimized a bit
- R_GetConsoleTask optimized a bit
- R_GetFileSysTask optimized a bit
- R_GetProgramDir optimized a bit
- R_SelectInput optimized a bit
- R_SelectOutput optimized a bit
- R_SetArgStr optimized a bit
- R_SetConsoleTask optimized a bit
- R_SetFileSysTask optimized a bit
- R_SetIoErr optimized a bit
- R_SetProgramDir optimized a bit
- 120 bytes saved


maybe you can do it also, since he abandoned his work
HanSolo is offline  
Old 19 November 2014, 01:37   #264
_mandark_
Registered User
 
Join Date: May 2011
Location: Funeralopolis
Posts: 91
Your newest dos.library is running well Don_Adan!
_mandark_ is offline  
Old 06 February 2015, 07:18   #265
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
The latest version as well as previous ones don't work for me unfortunately.

If I copy the entrire prefs folder to ramdisk an then try to duplicate it using the workbench menu the system freezes unfortunately.

Last edited by bladecgn; 07 February 2015 at 04:55.
bladecgn is offline  
Old 17 February 2015, 10:34   #266
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
Don_adan can you look at this ? I am using directory opus magellan so I missed this bug.I confirm that bug is real.
HanSolo is offline  
Old 17 February 2015, 18:01   #267
pawelek
Registered User
 
Join Date: Aug 2014
Location: Poland
Posts: 49
Yes, is a bug in dos.library 42.2 (DonAdan), new bugfix version soon.

Last edited by pawelek; 19 February 2015 at 18:05.
pawelek is offline  
Old 19 February 2015, 22:17   #268
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
Quote:
Originally Posted by bladecgn View Post
The latest version as well as previous ones don't work for me unfortunately.

If I copy the entrire prefs folder to ramdisk an then try to duplicate it using the workbench menu the system freezes unfortunately.
Thanks for tests. Fixed version is available on the WT page.
Don_Adan is offline  
Old 20 February 2015, 05:26   #269
zharn
Registered User
 
Join Date: Nov 2012
Location: Brisbane Australia
Posts: 150
Perfect timing, burning into some freshly erased eproms right now.
zharn is offline  
Old 26 February 2015, 19:00   #270
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
I can confirm the duplicate prefs folder in ramdisk is fixed.

Thank you Don Adan!
bladecgn is offline  
Old 05 October 2015, 08:59   #271
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,641
I just received the following bug report:

"When installing some older software like FinalCalc and AdPro, I have a dos issue that says that cannot find file on like the next disk inserted. That is, I go through the installer and once it asks for next disk, I insert it. Workbench sees it and is shown in the shell as well but for some reason dos can't find the file on next disk. Then the script aborts with a DOS error.

If I do not do the dos.library loadmodule in startup-sequence and revert back to older one all is okay. Also, when I copy disk2 to RAD: instead it is okay."
Minuous is offline  
Old 28 October 2015, 19:28   #272
HanSolo
Registered User
 
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
@Don_adan

Is segTracker patch useless witch your dos.library or not ??? Meybe you could implement it if yes. Could you post list which patches are useless with your libraries.
HanSolo is offline  
Old 01 September 2020, 21:50   #273
ancalimon
Supernormal
 
ancalimon's Avatar
 
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 43
Posts: 1,411
Sorry for resurrecting the thread. But how do we make this work with different localee catalog files?
ancalimon is offline  
Old 02 September 2020, 00:42   #274
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
Even if this is fast/optimised/a few fixed version of dos library, then has a few (minimum 2) my bugs, included locale bug, i think. If I will be back to life, then maybe I will try to find and fix bugs. Perhaps with WinUAE debugger it can be easy enough to find bugs, but I dont used WinUAE. But sources are available, everyone can try.
Don_Adan is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source CLI commands Mrs Beanbag Coders. System 13 10 December 2016 09:50
Open-source graphics library Don_Adan Coders. System 32 15 January 2013 22:15
dos.library Open() hangs MrD Coders. Asm / Hardware 15 24 July 2012 19:55
NewsRog goes Open Source Paul News 0 04 December 2004 16:37
BlitzBasic - Is now open source Djay Amiga scene 2 08 February 2003 01:09

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:17.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12484 seconds with 14 queries