Add loading screen to .tap file

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
g0blinish
Microbot
Posts: 130
Joined: Sun Jun 17, 2018 1:54 pm

Re: Add loading screen to .tap file

Post by g0blinish » Wed Dec 12, 2018 2:32 pm

0 x

User avatar
8BitAG
Manic Miner
Posts: 289
Joined: Sun Dec 17, 2017 9:25 pm

Re: Add loading screen to .tap file

Post by 8BitAG » Wed Dec 12, 2018 3:29 pm

Very useful thread, thanks.
0 x

hikoki
Manic Miner
Posts: 389
Joined: Thu Nov 16, 2017 10:54 am

Re: Add loading screen to .tap file

Post by hikoki » Wed Dec 12, 2018 3:58 pm

hikoki wrote:
Wed Dec 12, 2018 11:54 am
tapeconv from fuse-utils
I meant snap2tzx which allows you to pass a scr filename as commandline parameter, something like
snap2tzx -$ test.scr test.z80
this is for snapshots which is not what you asked for
0 x

dwinters18
Berk
Posts: 20
Joined: Sat Dec 01, 2018 6:45 pm

Re: Add loading screen to .tap file

Post by dwinters18 » Thu Dec 13, 2018 5:34 am

Hello all,

Thanks everyone for all the replies.

Looks like I have opened a bit of a can of worms with this.

I have tried some of the suggestions and so far none of them have worked.

Either I am clearly doing something wrong or some of the instructions have bits missing which I guess is due to people who know how to do it are maybe missing one small step out as they do it second nature but people trying to learn this black devil art of adding a loading screen to a tap are struggling.

How for example do you create a fresh, empty/blank .tap file to start adding elements to - i quote:-
In your emulator of choice, I use SPIN, insert a tape, and type SAVE”name”LINE 1. The line 1 is important, as it makes the BASIC autorun when loaded.
I m using ZX Spin also.

I'm sure its quite easy when you know how, like most things in life!

D
0 x

oblo
Berk
Posts: 25
Joined: Mon Dec 10, 2018 9:24 pm

Re: Add loading screen to .tap file

Post by oblo » Thu Dec 13, 2018 8:35 am

dwinters18 wrote:
Thu Dec 13, 2018 5:34 am
Either I am clearly doing something wrong or some of the instructions have bits missing which I guess is due to people who know how to do it are maybe missing one small step out as they do it second nature but people trying to learn this black devil art of adding a loading screen to a tap are struggling.
It's easier than you think. As I asked you in another reply, can you paste here the content of the BASIC loader? Also, could you confirm my first assumption that you a have two TAPs/TZXs files, one with your program and other with the screen$?
0 x

dwinters18
Berk
Posts: 20
Joined: Sat Dec 01, 2018 6:45 pm

Re: Add loading screen to .tap file

Post by dwinters18 » Thu Dec 13, 2018 8:59 am

I have two .tap files.

screen.tap which is a scr file exported as screen.tap in zx paintbrush. When asked for Header name I entered Screen (I have been unable to change the address of this so assume 16384,6912)

main.tap - this is the .tap file exported from SpecNetIDE visual studio editor/built in emulator (org at 24576)

My loader would say the following but I have no idea how to do the empty .tap file bit to get it in etc:-

10 CLEAR 24575: BORDER 0: LOAD””SCREEN$:POKE 23739,111:LOAD””CODE:PAUSE 0:CLEAR:RANDOMIZE USR 24576


Thanks - let me know if you need to know anymore
0 x

dwinters18
Berk
Posts: 20
Joined: Sat Dec 01, 2018 6:45 pm

Re: Add loading screen to .tap file

Post by dwinters18 » Thu Dec 13, 2018 9:44 am

Hello again,

Also could you confirm please if I am making the loading screen tap file correctly - I am, using zx paintbrush, creating a new image 256 x 192, once I have drawn the picture, Export As -> .tap file. When asked for the header name, I enter SCREEN

Once the .tap file is created, I can load it into Spin using Insert Tape and it just appears at 16384 as expected.

D
0 x

User avatar
Ast A. Moore
Dynamite Dan
Posts: 1134
Joined: Mon Nov 13, 2017 3:16 pm

Re: Add loading screen to .tap file

Post by Ast A. Moore » Thu Dec 13, 2018 10:13 am

If you only have two TAP files—your main code and your screen, then you’ll need to combine them into a single one. I believe your main TAP file consists of four data blocks: BASIC header, BASIC loader, main code header, and main code data. You’re going to want to insert the two blocks of your screen TAP files—screen header and screen data—between the BASIC loader and the main code header.

Could you just share all of your assets so we could take a look at them?
0 x
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.

hikoki
Manic Miner
Posts: 389
Joined: Thu Nov 16, 2017 10:54 am

Re: Add loading screen to .tap file

Post by hikoki » Thu Dec 13, 2018 10:53 am

0 x

Joefish
Manic Miner
Posts: 568
Joined: Tue Nov 14, 2017 10:26 am

Re: Add loading screen to .tap file

Post by Joefish » Thu Dec 13, 2018 11:22 am

Looks like the first thing you need to do is get some practise with Spin's settings, and learn how to SAVE out of the emulator.

First go TOOLS -> OPTIONS -> FILES -> TAPES and disable 'Load tapes automatically'.
Now when you select a .TAP file to have to manually load it with either the 128K tape loader or by typing LOAD "" or LOAD "" CODE, LOAD "" SCREEN$, etc.

To save stuff from the emulator you go to RECORDING -> TAPE RECORDING -> INSERT TAPE FOR SAVING
Then you name a new .TAP file.
Now you can use commands like SAVE "mystuff" LINE 10 in BASIC to save programs or code and whatever you save gets appended, one save after another, to a single .TAP file.
When you've finished, select RECORDING -> TAPE RECORDING -> STOP RECORDING and RECORDING -> TAPE RECORDING -> EJECT SAVE TAPE
This closes off the .TAP file and stops saving any more to it.

You can now select it as a .TAP file and LOAD from it.

When you've finished developing, you may want to switch 'Load tapes automatically' back on for loading games.

So now you can load your BASIC loader into the emulator, edit it, and save it to a new .TAP file.
And then use ZXBlockEditor to chop up and recombine the different file blocks from your various .TAP files into a single .TAP file.
0 x

Post Reply