Search found 776 matches

by RMartins
Mon Sep 05, 2022 7:08 pm
Forum: Hardware
Topic: NOXROM Cartridge
Replies: 27
Views: 6851

Re: NOXROM Cartridge

I remember something in a mag, back in the day (possibly Tim Hartnell or Toni Baker?) teasing access to 80K. I saw a reference to it recently, but I can't find it now. I believe this could be it, the SP80 (an interface to add 2*32K to a Spectrum 16K). https://archive.org/details/your-spectrum-magaz...
by RMartins
Sun Sep 04, 2022 7:30 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7180

Re: Games Exposed

no, no. Just joking. It's that funny thing you get when reading comments, as they lose emotion and that one felt very dry. But the main joke is I enjoy home coding because you don't get code reviews unless you ask. They just remind me of work were everyone has an opinion. I hope it didn't come over...
by RMartins
Sun Sep 04, 2022 3:09 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7180

Re: Games Exposed

luny wrote: Tue Aug 16, 2022 10:19 am Blooming 'eck, this is like being at work. A blasted code review. ;)
Sorry if it felt like that.
Intention was to help. :geek:
by RMartins
Wed Aug 17, 2022 11:34 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

Morkin wrote: Wed Aug 17, 2022 2:59 pm Wait, you guys are using text highlighters?

I was using Notepad++ with no highlighting or text colours whatsoever :cry:
Notepad++ does some enlighting if you select ASM as file type (Although I'm not using it) and it always shows color help show matching parenthesis at least.
by RMartins
Wed Aug 17, 2022 7:41 pm
Forum: Programming
Topic: Any way to do this in Pasmo?
Replies: 11
Views: 470

Re: Any way to do this in Pasmo?

Is that right? As I'm reading it for how IRP (rather than REPT ) works, shouldn't the syntax be???: IRP count, 1, 2, 3 I haven't tried that, but according to the documentation, I think you would get 6 repetitions (1+2+3 = 6). Or maybe you are confusing IRP with IRPC ? But you can always take a look...
by RMartins
Tue Aug 16, 2022 11:02 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

@RMartins, there is one important piece of advice I don't think I've properly spelled out yet, so here goes. I've got the impression from your posts in this thread, and from the issues you've raised on GitHub, that you are editing the skool file to convert parts of the disassembly between code and/...
by RMartins
Tue Aug 16, 2022 10:20 pm
Forum: Games/Software
Topic: Double Dragon
Replies: 29
Views: 1286

Re: Double Dragon

I remember, that one. I also remember that we talked abut it some time ago and I took a peak at the snapshot, but it only works for Pentagon, Not ZX 48K or 128K. It's something I could do, since I started a very similar game ( P.O.W. ) in terms of features and somewhat similar gameplay. But currentl...
by RMartins
Tue Aug 16, 2022 10:05 pm
Forum: Programming
Topic: Any way to do this in Pasmo?
Replies: 11
Views: 470

Re: Any way to do this in Pasmo?

Working sample IDXLABEL MACRO prefix, name, suffix prefix ## name ## suffix: ENDM DW_IDXLABEL MACRO prefix, name, suffix DW prefix ## name ## suffix ENDM main_start EQU $6000 ORG main_start main: LD HL, $5800 LD DE, $5820 IRP count, 3 IDXLABEL ldi_, count, _idx LDI ENDM RET ldi_table: IRP count, 3 D...
by RMartins
Tue Aug 16, 2022 7:42 pm
Forum: Games/Software
Topic: Double Dragon
Replies: 29
Views: 1286

Re: Double Dragon

Swainy wrote: Tue Aug 09, 2022 7:58 pm Well the graphics have been sitting on my hard five for years. Find me a decent programmer :)
Which graphics ?
I have seen several versions by now.

Where is yours ?
Can we see it ?
by RMartins
Tue Aug 16, 2022 6:54 pm
Forum: Programming
Topic: ive got this plot routine and want to instert a random number generator into it
Replies: 18
Views: 519

Re: ive got this plot routine and want to instert a random number generator into it

... plot routine LD D,C ; D = X and E = Y PLOT: ld a,7 and d ld b,a inc b ld a,e rra scf rra or a rra ld l,a xor e and 248 xor e ld h,a ld a,d xor l and 7 xor d rrca rrca rrca ld l,a ld a,1 ; one PLOTBIT: rrca djnz PLOTBIT or (hl) ld (hl),a RET Are you sure that plot routine even works ? Looking at...
by RMartins
Tue Aug 16, 2022 6:42 pm
Forum: Programming
Topic: Any way to do this in Pasmo?
Replies: 11
Views: 470

Re: Any way to do this in Pasmo?

presh wrote: Tue Aug 16, 2022 1:59 am ...
I can't tell how to do it from the docs :|

TIA :)
As far as I remember you can do it, but you have to use a macro and the ## operator.

However, with the REPT and current documentation it will probably work too. I need to try though, to be sure.
by RMartins
Tue Aug 16, 2022 8:27 am
Forum: Preservation
Topic: 20 Character Sets
Replies: 1
Views: 187

Re: 20 Character Sets

Somehow font definitions are never enough. :lol:
by RMartins
Tue Aug 16, 2022 2:53 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

Since SkoolKit 1.0, the point of the skool file has been that it will "just work" as the source for skool2asm.py, skool2html.py (or any other skool2* command) without any reference to a particular snapshot, and that is not going to change. Requiring the recipient of a skool file to also h...
by RMartins
Tue Aug 16, 2022 12:32 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

Basically, there is a bunch of pixel bytes that are set as if they are #00 or garbled data, in some specific locations. But I have just checked and the current skool file version, seems to be generating the correct output. So I probably did something strange before, that triggered something unexpec...
by RMartins
Mon Aug 15, 2022 4:34 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

If you're referring to the fact that the operands of LD instructions are neither hyperlinked nor labelled, that is the expected default behaviour. Yep that's exactly what I was reporting, since in another thread about disassembly of Chaos, I saw the LD instructions with hyperlinks. You can add LD i...
by RMartins
Sun Aug 14, 2022 5:33 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

SkoolKid wrote: Sun Aug 14, 2022 5:04 pm By the way, I'm not sure if this will help at all, but skool2ctl.py has a --keep-lines option that preserves line breaks in comments. So when you run sna2skool.py, the comments will not be re-wrapped.
Great!

I'll have to try that.
Thanks.
by RMartins
Sun Aug 14, 2022 5:32 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

Let's suppose that I have this extract in the Skool file $F5E6 DEFB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF ; $F5EE DEFB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF ; $F5F6 DEFB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF ; } ; Pit Garage SCR attributes data @label=PIT_GARAGE_ATTR $F5FE DEFB $78,$79,$7A,$79,$79,$79,$78,$47 $F606 D...
by RMartins
Sun Aug 14, 2022 4:39 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

... I'm still not sure what you mean with the #SCR macro. Can you post an image produced by the #SCR macro, and explain how it's broken? Basically, there is a bunch of pixel bytes that are set as if they are #00 or garbled data, in some specific locations. But I have just checked and the current sk...
by RMartins
Sun Aug 14, 2022 3:45 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

I'm not really sure what to say about all this, other than it sounds as if you're working on the skool file far too soon. It's a good idea to work on the control file exclusively in the beginning until you think you've identified all (or almost all) of the code, data and text. Then you can either c...
by RMartins
Sun Aug 14, 2022 3:35 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

Can you share the skool file that you're using? I've just tried those #SCR macros on a loading screen of Hungry Horace, and they worked fine. https://spectrumcomputing.co.uk/SCRtoImage.php?SCR=pub/sinclair/screens/load/h/scr/HungryHorace.scr&border=0 You need a more detailed image to notice the...
by RMartins
Sun Aug 14, 2022 3:30 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

The place to report bugs is on GitHub . OK, Thanks. That's expected, because the TAP file contains headerless blocks. By default, tap2sna.py ignores headerless blocks because it cannot know where they should be loaded. To make tap2sna.py load a headerless block at a specific address, use the '--ram...
by RMartins
Sun Aug 14, 2022 11:44 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

The CTL file looks like a blueprint of where code and data are supposed to be. However, this is the first thing we NEED to do, which is most probably not the best scenario when we don't know anything about the code or data. ... All in all, I see the CTL as a base reference to build a kind of node g...
by RMartins
Sun Aug 14, 2022 11:31 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

Found what appears to be another bug. Maybe I should be reporting these elsewhere, but I'm not sure exactly were, so please enlighten me so that I can report them on the proper place. So when processing " Formula One.TZX ", the tapInfo.py correctly reports all the blocks. > tapinfo.py &quo...
by RMartins
Sun Aug 14, 2022 2:21 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

By the way, using SkoolKit 8.6, I seem to have found a bug This Macro doesn't produce the expected result (the output of the second third of the screen #SCR1,0,8,32,8(secondThird.png) It comes close, but has a few problems: - Some of the pixels and full lines, are missing - Some colors Also seem off...
by RMartins
Sun Aug 14, 2022 1:36 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2084

Re: SkoolKit: ctl file or skool file?

This really needs some kind of editor, that would allows us to edit each block, brake it apart, join blocks, etc... Because when we do these operations, we need to make decisions on how to merge or split and to keep or not the existing labels/comments/descriptions, etc ... Because some have referenc...