Search found 41 matches

by dfzx
Wed Jan 10, 2018 3:09 pm
Forum: Showcase your work!
Topic: Crap 0.1 first assembly project
Replies: 112
Views: 1636

Re: Crap 0.1 first assembly project

Sorry I am being a potato, I use linux and fuse, I just never took the time to look at fuse's menu options. Yea I got the debugger running now with it - thanks for the tip. OK, so, scroll the middle column (the disassembly) to address 50000 and tell us what you find there. How does the assembled (a...
by dfzx
Sun Jan 07, 2018 2:29 pm
Forum: Showcase your work!
Topic: Crap 0.1 first assembly project
Replies: 112
Views: 1636

Re: Crap 0.1 first assembly project

Here's a question for you though: if you read that code that Ast A. Moore has posted above, either by reading the code or reading the comments, can you tell me what it does? i.e. not what each line does, but what the actual routine does? The routine scans the keyboard (the first rom call). Then it ...
by dfzx
Sun Jan 07, 2018 1:49 pm
Forum: Showcase your work!
Topic: Crap 0.1 first assembly project
Replies: 112
Views: 1636

Re: Crap 0.1 first assembly project

Thanks for the tip, I see what you mean about commenting the code Here's a question for you though: if you read that code that Ast A. Moore has posted above, either by reading the code or reading the comments, can you tell me what it does? i.e. not what each line does, but what the actual routine d...
by dfzx
Sat Jan 06, 2018 11:34 am
Forum: Miscellaneous
Topic: How do I create a GIF from an emulator?
Replies: 8
Views: 109

Re: How do I create a GIF from an emulator?

Thanks for all the suggestions. Turns out that the Fuse utils already do it. You just need to read the chuffin' documentation. :)
by dfzx
Sat Jan 06, 2018 11:32 am
Forum: Miscellaneous
Topic: How do I create a GIF from an emulator?
Replies: 8
Views: 109

Re: How do I create a GIF from an emulator?

The fmfconv manual explains a way to convert to animated GIF (25 fps) using ImageMagick: fmfconv -f 25 input.fmf tmp.png convert -delay 4 -loop 0 -layers removeDups -layers Optimize tmp*.png output.gif SPIN also supports animated GIFs. :lol: , RTFM why don't I? In my defence, I was reading the fmfc...
by dfzx
Sat Jan 06, 2018 11:16 am
Forum: Miscellaneous
Topic: How do I create a GIF from an emulator?
Replies: 8
Views: 109

Re: How do I create a GIF from an emulator?

Yes, I tried to convert the FMF file Fuse produces to an AVI, then break that into frames, but the compression had left severe artifacts and the result was horrible. But it looks like fmfconv will create a folder full of PNGs with no compression, so that's probably the way to go. I'll give that a tr...
by dfzx
Sat Jan 06, 2018 10:56 am
Forum: Miscellaneous
Topic: How do I create a GIF from an emulator?
Replies: 8
Views: 109

How do I create a GIF from an emulator?

I see people on here occasionally post an inline image to an animated GIF file showing a short sequence from a Spectrum emulator. How do you create such a thing? I managed to get an AVI out of Fuse and its associated utilities for uploading to Youtube, but I couldn't figure out how to make an animat...
by dfzx
Fri Jan 05, 2018 9:19 am
Forum: Programming
Topic: How to load a 16x16, 32x32, 64x64 sprite on the screen
Replies: 11
Views: 232

Re: How to load a 16x16, 32x32, 64x64 sprite on the screen

I'm at work so can't work out something specific, but all you're trying to do with, say, a 16x16 static sprite image is copy a bunch of data bytes into screen memory. 16 pixels wide is 2 8-bit bytes side by side. Times 16 pixels deep, that's 32 bytes of graphic data copied into 32 bytes of screen me...
by dfzx
Thu Jan 04, 2018 8:55 pm
Forum: Programming
Topic: Scrolling the attribute memory sideways
Replies: 2
Views: 84

Scrolling the attribute memory sideways

What's the most efficient way of scrolling the attribute memory sideways, right to left, introducing a column of, say, black ink/white paper attributes down the right hand side? In C, which is where I'd start, it's a fairly simple loop of 31 byte copies from an attribute address into the byte one ad...
by dfzx
Thu Jan 04, 2018 8:48 pm
Forum: Programming
Topic: IY and the interrupt
Replies: 15
Views: 255

Re: IY and the interrupt

Ast A. Moore wrote:
Thu Jan 04, 2018 8:03 pm
Neat. I seem to remember a similar trick with a line of scrolling text made out of screen attributes. Was pretty jaw-dropping the first time I saw it.
Yeah, I saw that too! In fact, that's what I intend to try next! :)

And on that topic I need a new thread...