Search found 834 matches

by NormanDunbar
Thu Feb 13, 2020 4:15 pm
Forum: Software & Programming
Topic: Writing $$external extensions with QLib
Replies: 45
Views: 1511

Re: Writing $$external extensions with QLib

Interesting .. I note from the assembler listing that RNAME starts off by fetching the first parameter as an integer. Since in the Basic program RNAME is called with a float as the first parameter, my guess is that this routine will not work as expected, in any case. It will work fine. You could ev...
by NormanDunbar
Wed Feb 12, 2020 1:41 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Hi Steve, Python will run on PCs under Windows or Linux, and on Macs, if and only if the Python environment is installed. On Linux it's pretty much already there (especially on Raspberry Pis). Windows needs a download from python.org. I have no idea what Apple's do! On Android tablets and Phones the...
by NormanDunbar
Tue Feb 11, 2020 3:59 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

And for anyone looking to learn Python, and needing a free book or two, this is legal:

https://www.topfreebooks.org/?s=python

Enjoy.


Cheers,
Norm.
by NormanDunbar
Tue Feb 11, 2020 12:47 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Hi Tobias, Steve, Tobias: I agree that employers should be looking for people who write understandable code, but these days, recruitment is usually hived off to a third party who run a text search on a database full of CVs to see who pops up. I get requests all the time for a "SQL DBA" whe...
by NormanDunbar
Tue Feb 11, 2020 9:08 am
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Hi Steve, Hi all, OK, so Python is said to be THE programming language of today.... But if so, why are there not dozens of Python magazines printing hundresds of complex programs written by ordinary people, as there were for BASIC in the eighties ? And is Python that easy to use ? Instead of getting...
by NormanDunbar
Mon Feb 10, 2020 10:16 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Evening Ruptor. You ask why someone should reinvent the wheel, re Python. Why not? Maybe Guido had one of those itches he needed to scratch - the current crop of languages didn't do it for him perhaps? Why do we have lots of anything? TV channels, car manufacturers, 1980s retro computers etc. I'm no...
by NormanDunbar
Mon Feb 10, 2020 3:05 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Just read a book. Assembler is a very primitive language. Here are a few that you can legally download for free - https://www.topfreebooks.org/?s=assembly+language - the Randal Hyde one (http://www.plantation-productions.com/Webster/www.artofasm.com/index.html) I already own, it's 900+ pages of she...
by NormanDunbar
Mon Feb 10, 2020 2:15 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

PS. I don't understand most of what you guys have been discussing however due to the myriad of different systems and languages it does back up the view that there has been a lot of work done in code over the last 50 years but not much progress. I still get syntax error or worse when I leave a ';' of...
by NormanDunbar
Mon Feb 10, 2020 2:04 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Machine code was dead slow so assembler came along then Algol & Fortran driven by profits appeared and progress was lost to profit making where Pascal improved on Algol and the Americans came up with C for crap as their alternative and we were stuffed. When I was at college, back in the 1980s (...
by NormanDunbar
Mon Feb 10, 2020 7:40 am
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

Morning Marcel, I never really liked flex/bison to be honest. I tried - but didn't succeed. The first book is just going to production, and has its own web page at https://www.apress.com/gp/book/9781484257890 but the content changes from time to time. Its about 400 of my A4 pages, plus index, and is...