Search found 3954 matches

by Derek_Stewart
Mon Feb 21, 2022 11:43 pm
Forum: Software & Programming
Topic: SQLite
Replies: 21
Views: 5117

Re: SQLite

Hi,

If I use QDOS-GCC to conpile the SQLite code with 64 bit integer support, how will the resultant executable work on a QL?

Or does it not matter...
by Derek_Stewart
Sun Feb 20, 2022 6:31 pm
Forum: Software & Programming
Topic: SQLite
Replies: 21
Views: 5117

Re: SQLite

Hi, SQLite3 supports 64 bit integers: The sqlite3_int64 and sqlite_int64 types can store integer values between -9223372036854775808 and +9223372036854775807 inclusive. The sqlite3_uint64 and sqlite_uint64 types can store integer values between 0 and +18446744073709551615 inclusive. I am looking to ...
by Derek_Stewart
Sun Feb 20, 2022 4:04 pm
Forum: Software & Programming
Topic: SQLite
Replies: 21
Views: 5117

Re: SQLite

Hi, I have compiled all the SQLite C module files to object files, except 3 files to make some changes to C68. A problem one of the header files seem to be the use of: "LONG LONG" which implies 64 bit numbers, changing this to "long" allows the majority of files to compile to obj...
by Derek_Stewart
Sun Feb 20, 2022 3:52 pm
Forum: Software & Programming
Topic: SMS2 and STELLA
Replies: 109
Views: 15392

Re: SMS2 and STELLA

Hi, Looks like my assumption that there was I2C code in the Minerva ROM was incorrect. Looking at the file I2C_IO_REXT_dis, the base of the Minerva MKII I2C hardware is at $BFDC, which located in the ROM space, is there accomodation in the Minerva ROM to include the I2C Hardware? Which may mean, usi...
by Derek_Stewart
Sun Feb 20, 2022 10:18 am
Forum: Software & Programming
Topic: C68 Compiling
Replies: 5
Views: 1128

Re: C68 Compiling

Hi, I am sure there is a something that can be supplied to the C68 CC programme to switch off the automatic extension translation. But in the interim, my solution was to unzip the C source code with infoUNZIP and junk the stored directories, with the -j option, so that only the files are stored with...
by Derek_Stewart
Sun Feb 20, 2022 10:10 am
Forum: Software & Programming
Topic: SMS2 and STELLA
Replies: 109
Views: 15392

Re: SMS2 and STELLA

Hi, The Minerva I2C_IO_BIN file adds a function I2C_IO, which uses the Minerva ROM routines to access the I2C interface. While the i2C Hardware sold by Tony Firshman maybe be compatible with the Q68 I2C interface, the Minerva I2C ROM routines detailed in the ROM source code may need sole conversion ...
by Derek_Stewart
Sat Feb 19, 2022 7:16 pm
Forum: Software & Programming
Topic: C68 Compiling
Replies: 5
Views: 1128

Re: C68 Compiling

Hi

Thanks for the advice, my solution wad to rename all the files with .c or .c to _c or _h

It is strange that C68 header files can be defined as _h or .h in the C programme file. But a header file in the C source code file has to be _h

Maybe using XTC68 is a better option.
by Derek_Stewart
Sat Feb 19, 2022 3:16 pm
Forum: Software & Programming
Topic: C68 Compiling
Replies: 5
Views: 1128

C68 Compiling

Hi, I seem to of forgotten how to compile a C programme with a .c extension. I tried to compile the "alter.c" module from SQLite with, which gave this error: C68_compile.png I like to use CVIEW to compile C modules, which up to now has had a "_c " extension and work OK. My simple...
by Derek_Stewart
Sat Feb 19, 2022 2:49 pm
Forum: Help for New Users
Topic: QL Tinkering
Replies: 285
Views: 187167

Re: QL Tinkering

Hi Qbits,

I run the game on SMSQmulator and works great.

But I tried to compile it with Qliberator, the compiler gave 2 errors sbout an LRUN statement and a END_FOR without variable.

But really nice programme, excellent documentation.
by Derek_Stewart
Sat Feb 19, 2022 2:43 pm
Forum: Software & Programming
Topic: SMS2 and STELLA
Replies: 109
Views: 15392

Re: SMS2 and STELLA

Tony Tebby never offerred me anything except a rediculous article in QL Today, about sheep impling I was a software pirate...

Tis a pity since I would of bought all this.