Page 1 of 1
DBAS_SYS
Posted: Wed Apr 23, 2025 12:03 pm
by Tinyfpga
Where might I find a copy of DBAS_SYS? I have searched on Dilwyn's site but can't find it.
Re: DBAS_SYS
Posted: Wed Apr 23, 2025 2:44 pm
by tofro
Tinyfpga wrote: Wed Apr 23, 2025 12:03 pm
Where might I find a copy of DBAS_SYS? I have searched on Dilwyn's site but can't find it.
Maybe see you optician
https://dilwyn.theqlforum.com/database/dbas.zip
Re: DBAS_SYS
Posted: Wed Apr 23, 2025 3:46 pm
by Derek_Stewart
Hi,
DBAS_sys is the combination of the DBAS_BIN and DATA_bin.
The DBAS_SYS file is included to some applications like SuQcess-2, see:
https://home.hccnet.nl/b.spelten/ql/suqcess2.html
is included in the 'A' subdirectory.
Re: DBAS_SYS
Posted: Wed Apr 23, 2025 6:03 pm
by Giorgio Garabello
Tinyfpga wrote: Wed Apr 23, 2025 12:03 pm
Where might I find a copy of DBAS_SYS? I have searched on Dilwyn's site but can't find it.
is also part of Black Phoenix
Re: DBAS_SYS
Posted: Sat Apr 26, 2025 9:23 am
by Tinyfpga
Thanks for your replies.
I needed DBAS_SYS to run a program. I had no idea that it was a combination of two _BIN files.
DBAS_SYS is not contained in the DBAS_ZIP file I found on Dilwyn's site but is contained in the links mentioned above.
I can understand what the a database BASIC interface is, but not what database handler vectors are. In any case installing DBAS_SYS solved my problem.
Re: DBAS_SYS
Posted: Sat Apr 26, 2025 12:53 pm
by NormanDunbar
Tinyfpga wrote: Sat Apr 26, 2025 9:23 am
I can understand what the a database BASIC interface is, but not what database handler vectors are.
Briefly,
in order to use the DBAS system, you first have to perform a TRAP #3 instruction to fetch the DBAS main vector. All the actual database handling functions as simply offsets on that vector.
So, in assembly (and what the SuperBASIC code or C68 Code will be doing under the covers), once the trap #3 returns, you have an address. Shove that in A%, for example, and now all the code to manipulate the database is relative to that address.
You might find that create a database is offset by 0 so would be JSR 0(A5) or just JSR (a5) for example; open a database is offset by 2 and would be JSR 2(A5); and so on.
HTH
Cheers,
Norm.