Search found 834 matches

by NormanDunbar
Sun Feb 09, 2020 12: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?

I love compilers and language parsing. I'm not too good at it I admit, I did write something many years ago called ARSE, ARchive Syntax Evaluator, in C68, to parse a set of Archive program files. I tested it on a few commercial packages that I had at the time, and I remember finding bugs in them! Th...
by NormanDunbar
Sat Feb 08, 2020 8:43 pm
Forum: QL Emulation
Topic: How do you make a QL emulator?
Replies: 49
Views: 1575

Re: How do you make a QL emulator?

It's either write an emulator, or, write a compiler - that's what I think. I sort of did the latter.

Cheers,
Norm.
by NormanDunbar
Thu Feb 06, 2020 9:51 pm
Forum: Software & Programming
Topic: QPTR Toolkit Window Redefine
Replies: 4
Views: 158

Re: QPTR Toolkit Window Redefine

Derek_Stewart wrote:I was just trying to understand the QPTR Toolkit documentation.


Many have tried Derek! ;)
by NormanDunbar
Thu Feb 06, 2020 1:03 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 1045

Re: EasyPTR APPMAN help

Ok, I checked the EasyPTR 4 manual, it says this: With APPMAN menus, sprites, blobs and patterns appended to the SuperBASIC extension files 'easyptr_cde', 'easymen_cde' or 'ptrmen_cde' can be managed. (my emphasis) This appears to say that you need an extensions file loaded. Further on it says: 7.1 ...
by NormanDunbar
Thu Feb 06, 2020 12:53 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 1045

Re: EasyPTR APPMAN help

Norman Thanks, but it works fine if I add the menu to an extension file as per your example. However, as I always have the extensions loaded, that's adding a large chunk of "duplicate" code so I am trying to create an _app file, with just the menus in. Ah, right, sorry. To be honest, I'm ...
by NormanDunbar
Thu Feb 06, 2020 12:50 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 1045

Re: EasyPTR APPMAN help

Disassembling the calc_cde from that old tutorial, I see the following: L0000 bra L0206 L0206 bsr L0612 L020A bne L03BE L020E movea.w $110,a2 ; BI_INIPR/BP_INIT L0212 lea L0052,a1 L0216 jmp (a2) Label L0052 is $52 and equates to the decinmal '82 in the $$asmb line. So it looks fine from here. Cheers...
by NormanDunbar
Thu Feb 06, 2020 11:51 am
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 1045

Re: EasyPTR APPMAN help

getting APPMAN to work always gave me nightmares. The following is taken from my EasyPTR Tutorials from 1994 in Quanta and were originally written for EasyPTR 3: EXEC appman_obj Hit FILES, LOAD, EXTENSION(+APPENDIX), OK. Locate PTRMEN_CDE and DO it. Hit FILES, MENU, OK. Locate your _MEN file, and DO...
by NormanDunbar
Thu Feb 06, 2020 7:35 am
Forum: The Off-Topic Section
Topic: Today I Received...
Replies: 148
Views: 14310

Re: Today I Received...

Morning Dilwyn, No shops selling components around here, so I might order another cable from them as it'd be handy to have a second lead for the other QL anyway. what value of resistor do you need? I have a box of the things, various values. Most are 1/4 watt and quite small - so should fit into a S...
by NormanDunbar
Wed Feb 05, 2020 10:42 pm
Forum: Hardware
Topic: Floppy Disk Drive Options?
Replies: 12
Views: 423

Re: Floppy Disk Drive Options?

Alternatively, create images with "qltools" from https://github.com/SinclairQL/qltools/releases/latest

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

Re: How do you make a QL emulator?

Shaun Morgan, on You Tube has some recent videos explaining how he wrote a 6502 emulator from scratch.

https://m.youtube.com/channel/UCO1kd2kMBLS_Q1u5zpRRXuQ - the first, of 18 or so, is at https://m.youtube.com/watch?v=saelqL-qCsc&t=3s.

Cheers,
Norm.