Search found 19 matches

by SabreWulf
Wed Apr 12, 2023 11:20 am
Forum: Spectrum BASIC
Topic: 128 Basic and keywords within quotes
Replies: 6
Views: 10161

Re: 128 Basic and keywords within quotes

Thanks Mark.
by SabreWulf
Tue Apr 11, 2023 8:31 pm
Forum: Spectrum BASIC
Topic: 128 Basic and keywords within quotes
Replies: 6
Views: 10161

Re: 128 Basic and keywords within quotes

There was a curious but impractical answer there. Perhaps I should have been more succinct: "Was the 128 editor developed without considering that 48k Spectrum BASIC usefully allows tokenised keywords within quotes? Is the only practical way around the parsing to replace the keyword with CHR$(n) as ...
by SabreWulf
Fri Mar 10, 2023 3:32 pm
Forum: Spectrum BASIC
Topic: 128 Basic and keywords within quotes
Replies: 6
Views: 10161

Re: 128 Basic and keywords within quotes

Answering my own question, a solution is: 20 PRINT VAL (CHR$ 196 + z$) To save anyone looking that up, CHR$ 196 is, unsurprisingly, the BIN keyword. I hadn't realised that 128 basic parsing would require workarounds like this. Anyway, onward and upward. Any other solutions would still be appreciated.
by SabreWulf
Fri Mar 10, 2023 3:30 pm
Forum: Spectrum BASIC
Topic: 128 Basic and keywords within quotes
Replies: 6
Views: 10161

Re: 128 Basic and keywords within quotes

Double post deleted.
by SabreWulf
Fri Mar 10, 2023 3:05 pm
Forum: Spectrum BASIC
Topic: 128 Basic and keywords within quotes
Replies: 6
Views: 10161

128 Basic and keywords within quotes

Example: 10 LET z$="10101010" 20 PRINT VAL ("BIN "+z$) In 48 basic, the BIN is enter-able as a keyword. I can't see a way for 128 basic to recognise BIN within quotes as anything other than "B" + "I" + "N". The result in 128 basic is the equivalent of typing 'B' 'I' 'N' in 48 basic: i.e. variable no...
by SabreWulf
Mon Sep 06, 2021 4:51 pm
Forum: Hardware
Topic: Modulator swapping - should I?
Replies: 11
Views: 2974

Re: Modulator swapping - should I?

The NE555 board doesn't have any adjustable resistors, it's mostly surface mount other than the NE555 and transistors. Thanks Moggy and Mark for the practical advice on how to remove the modulator: I needed to ask as I've never had to remove one before. Swapping the circuits makes sense as it gives ...
by SabreWulf
Sat Sep 04, 2021 5:52 pm
Forum: Hardware
Topic: Modulator swapping - should I?
Replies: 11
Views: 2974

Re: Modulator swapping - should I?

I'm doing my best to keep it at two. Once upon a time, and not that long ago, I formulated a plan to acquire a working Spectrum. I'd write better machine code than the first time around and learn something new. But that rubber-keyed marvel had faulty upper RAM and I'd always wanted to better underst...
by SabreWulf
Sat Sep 04, 2021 3:13 pm
Forum: Hardware
Topic: Modulator swapping - should I?
Replies: 11
Views: 2974

Re: Modulator swapping - should I?

Hello Ernesto, Thanks for your thoughts - they help me make a decision. The RF output of 1 isn't good enough; it's woefully dark on my colour TVs. The 555 on 2 isn't socketed and it will need an amount of dismantling just to get to it. I purposely sought out another ZX81 with a later ULA to see what...
by SabreWulf
Sat Sep 04, 2021 1:18 pm
Forum: Hardware
Topic: Modulator swapping - should I?
Replies: 11
Views: 2974

Modulator swapping - should I?

One ZX81 became two. How did that happen? I'd better watch out as there's at least six Spectrums. Don't feed them after midnight, don't let them near water, don't tell them your eekbay password. ZX81 1: socketed ICs, non back-porch ULA, original modulator, 622 ROM. ZX81 2: soldered ICs, back-porch U...
by SabreWulf
Sat Aug 28, 2021 4:14 pm
Forum: Hardware
Topic: Oscilloscopes
Replies: 7
Views: 2278

Re: Oscilloscopes

Thanks for the swift reply Mark. The Rigol sounds like it would be ideal.