Search found 776 matches

by RMartins
Tue Aug 16, 2022 6:42 pm
Forum: Programming
Topic: Any way to do this in Pasmo?
Replies: 11
Views: 469

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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: 2035

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...
by RMartins
Sun Aug 14, 2022 1:32 am
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2035

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. This would be a lot easier, if this representation of code/data (AKA CTL), w...
by RMartins
Sat Aug 13, 2022 7:28 pm
Forum: Programming
Topic: SkoolKit: ctl file or skool file?
Replies: 65
Views: 2035

Re: SkoolKit: ctl file or skool file?

You're not missing anything. That Disassembly DIY documentation was written a long time ago, back when I expected users to start with a control file and eventually move to editing the skool file. But it seems most people prefer to stick with the control file and never touch the skool file. Which is...
by RMartins
Sat Aug 13, 2022 7:21 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7088

Re: Games Exposed

By the way routine_09 clearly seems to be the spell casting chance function, for a CHAOS/LAW spell. It; - calls random - compares with casting_chance - determines success or failure based on comparison (updates spell_success_flag ) - Updates Law ( CH_LAW ) based on Spell type ( spell_chaos_law ) - r...
by RMartins
Sat Aug 13, 2022 6:50 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7088

Re: Games Exposed

I have been reading a bit on how to use SkoolKit (now with correct name :) ), and according to the documentation So the skool file is - from start to finish as you develop it by organising and annotating the code - the common ‘source’ for both the reader-friendly HTML version of the disassembly, and...
by RMartins
Sat Aug 13, 2022 1:47 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7088

Re: Games Exposed

I also noticed that some of the routines, are already known what they do (or partially at least), but the name of the routines don't yet reflect that.
Routine_04 is a good example of this.
by RMartins
Sat Aug 13, 2022 1:45 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7088

Re: Games Exposed

It would be really useful if SchoolKit would produce a similar list for variables usage, specially if it would mark them as READ, WRITE or READ/WRITE in each function they are used. Used by the routines at routine04, chaos_law_spell, RAISDO, TUR_DO, creature_cast_spell, trees_castles_spell, routine1...
by RMartins
Sat Aug 13, 2022 12:48 pm
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7088

Re: Games Exposed

Here we go, since it's not much of a secret any more this is where we got to: https://zxnet.co.uk/spectrum/chaos/index.html I would like to try make a constructive criticism. Variable names are a bit cryptic. Some examples: FLA481 FRA321 NUM LEVEL GAMTUN POSPRI COMPAR SPELNO RANUM ROMP HISPEL Altho...
by RMartins
Sat Aug 06, 2022 11:44 am
Forum: Games/Software
Topic: Games Exposed
Replies: 148
Views: 7088

Re: Games Exposed

https://chaosremakes.fandom.com/wiki/Chaos_Funk Here they mention: To ensure that the internal logic was accurate, relevant z80 code was analyzed by Chaos fans and equivalent C code was used to make routines such as spell casting, combat and the spread of growths faithful to the original game. The A...
by RMartins
Thu Aug 04, 2022 10:22 pm
Forum: Graphics
Topic: Treasure Island Dizzy - alternative colour scheme
Replies: 29
Views: 1648

Re: Treasure Island Dizzy - alternative colour scheme

https://i.postimg.cc/fy0XPMtX/3.png The stairs like look on the sand, doesn't look nice at all. Like someone mentioned previously, make the sand at water level and above, BRIGHT:1 and the remaining sand (below water level) BRIGHT:0. That will look a lot more natural, overall. The sun only shines on...
by RMartins
Thu Aug 04, 2022 10:18 pm
Forum: Graphics
Topic: Treasure Island Dizzy - alternative colour scheme
Replies: 29
Views: 1648

Re: Treasure Island Dizzy - alternative colour scheme

... My own solution for colour clash (this would require special coding) is for Dizzy to "force" bright white only in a small area : https://i.postimg.cc/tgXh7R1Y/Forced-bright-zone.png You could also embrace the gray white as being in shadow, if the screen was properly filled so that wou...