Search found 605 matches

by Martin_Head
Mon Mar 15, 2021 10:35 am
Forum: Software & Programming
Topic: Q: SuperBASIC net driver semantics
Replies: 7
Views: 535

Re: Q: SuperBASIC net driver semantics

You might want to check out IP_Basic, here http://www.dilwyn.me.uk/internet/index.html It adds a bunch of SuperBASIC commands like IP_BIND, IP_LISTEN and IP_ACCEPT. The source code is supplied, so you may be able to bend it to do what you want. I have a later unreleased version than the one on Dilwy...
by Martin_Head
Sun Mar 14, 2021 10:23 am
Forum: Software & Programming
Topic: Running Cport from Win1_
Replies: 36
Views: 2548

Re: Running Cport from Win1_

There is one such line here ... 11413 FOR var9400 = 1 TO 12 STEP 1 : READ : var9AA0$(** Stack empty ** TO var9400%) = var9400% : END FOR var9400% I was going to interpret this as 11413 FOR var9400 = 1 TO 12 : READ var9AA0$(var9400) Note the index name of var9400 only would be used - and not var9400...
by Martin_Head
Sat Mar 13, 2021 11:02 am
Forum: Software & Programming
Topic: Running Cport from Win1_
Replies: 36
Views: 2548

Re: Running Cport from Win1_

I am working on the results of decompiling (thanks Martin) DP Astrologer and Astronomer. The _bas resulting is not too bad in respect of the result I got from Cport_bas Fabrizio Hi Fabrizio, In DP Astrologer and Astronomer, are you getting any ** Stack empty ** 's ? In Cport_bas there are quite a f...
by Martin_Head
Thu Mar 11, 2021 11:11 am
Forum: Software & Programming
Topic: Running Cport from Win1_
Replies: 36
Views: 2548

Re: Running Cport from Win1_

NormanDunbar wrote:Thanks Martin.

I'll get in these ASAP. Tking MrsD for her first vaccination today.

Much obliged.

Cheers,
Norm.

Had mine as well. So far, still feeling OK, no flu symptoms yet
by Martin_Head
Wed Mar 10, 2021 10:16 am
Forum: Software & Programming
Topic: Running Cport from Win1_
Replies: 36
Views: 2548

Re: Running Cport from Win1_

And here's an update for the Cfix program.
by Martin_Head
Tue Mar 09, 2021 10:41 am
Forum: Hardware
Topic: Ethernet for the QL
Replies: 93
Views: 7832

Re: Ethernet for the QL

I am doing some work on this today. As it stands, it's using an ATF1502 for logic, 2x 512K SRAMs (896K available) and the CP2200. It'll have a through connector. All usual peripherals should work normally, including (S)GCs. The only thing I'm unclear on is if it should carry a 16K EPROM or not. And...
by Martin_Head
Mon Mar 08, 2021 3:59 pm
Forum: Software & Programming
Topic: How best to introduce a timed-delay whilst in Supervisor mode
Replies: 5
Views: 399

Re: How best to introduce a timed-delay whilst in Supervisor mode

tofro wrote:May I remind you the QL has an RTC ticking away in 1s intervals at $18000.L?

This should be emulated even by emulators (sic).

I don't think that's implemented in QPC2. Try PRINT PEEK_L($18000) you just get 0 back
by Martin_Head
Mon Mar 08, 2021 3:40 pm
Forum: Software & Programming
Topic: Running Cport from Win1_
Replies: 36
Views: 2548

Re: Running Cport from Win1_

Coming back on topic, here's another update... If you just run the turbodischarge1_bas program as before, The decompile will complete without hanging. I have not looked through the program so there may be some lurking problems in the generated BASIC. I think there may be some EXTERNAL/GLOBAL things ...
by Martin_Head
Sat Mar 06, 2021 11:27 am
Forum: Software & Programming
Topic: Running Cport from Win1_
Replies: 36
Views: 2548

Re: Running Cport from Win1_

Don't run the disassembling first phase again, just run the turbodischarge1_bas program, and use the cport_codes file supplied. Many thanks indeed Martin, that helped a lot. Using the codes file you supplied, and the updated version of the TurboDisCharge1_bas decompiler, I got about 14,500 lines of...
by Martin_Head
Sat Mar 06, 2021 11:06 am
Forum: Hardware
Topic: Sinclair QL Factory Test Jig
Replies: 40
Views: 3472

Re: Sinclair QL Factory Test Jig

I think Maplins used to sell them along with the switches that would solder directly onto a PCB. There is a ZX81 with custom k/b on ebay that looks like it has the same switches, but he wants silly money for it. I'll find some spares one day. I found the Maplin instructions for building a ZX81 keyb...