DBAS_SYS

Anything QL Software or Programming Related.
Post Reply
Tinyfpga
Gold Card
Posts: 304
Joined: Thu Sep 27, 2018 1:59 am

DBAS_SYS

Post by Tinyfpga »

Where might I find a copy of DBAS_SYS? I have searched on Dilwyn's site but can't find it.


User avatar
tofro
Font of All Knowledge
Posts: 3057
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: DBAS_SYS

Post 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


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Derek_Stewart
Font of All Knowledge
Posts: 4652
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: DBAS_SYS

Post 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.


Regards,

Derek
User avatar
Giorgio Garabello
Gold Card
Posts: 299
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: DBAS_SYS

Post 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


Tinyfpga
Gold Card
Posts: 304
Joined: Thu Sep 27, 2018 1:59 am

Re: DBAS_SYS

Post 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.
DBAS_sys.zip
(17.3 KiB) Downloaded 2 times


User avatar
NormanDunbar
Forum Moderator
Posts: 2456
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: DBAS_SYS

Post 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.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Post Reply