displaying and animating UDG's on the spectrum

User avatar
1024MAK
Posts: 5101
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: displaying and animating UDG's on the spectrum

Post by 1024MAK »

Listing as it looks when first entering and before running the program
Listing as it looks when first entering and before running the program
The remaining part of the listing
The remaining part of the listing
.
Then the output screen when run
The output screen
The output screen
.
What the listing looks like after running the program
What the listing looks like after running the program
The remaining part of the listing
The remaining part of the listing
.
Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
User avatar
1024MAK
Posts: 5101
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: displaying and animating UDG's on the spectrum

Post by 1024MAK »

Try this one…
639ED9FE-199F-467E-9C7F-9F2E7453DAE6.jpeg
8506572B-270F-4949-AD36-468ADD3A0FBC.jpeg
Don’t worry about entering the REM lines.

Mark
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: displaying and animating UDG's on the spectrum

Post by XavSnap »

Hi,
I like to code on the Spectrum 48k...
For me, it's the ZX81+1k is the Spectrum 16k and the ZX81+16k is the Spectum 48k !

The Spectum 48k add 3 more UDG characters !

And i like the display specificity on the Spectum...
The screen is not refresh all the time, and you can tag UDG characters on the screen with the same UDG character.

You can draw a picture with only one graphic character just by printing the same UDG on the screen !

On the ZX81, if you change the UDG by character, it refresh all printed characters...
It able to define blocks to tag a background on the screen, and use the same UDG for another stuff.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: displaying and animating UDG's on the spectrum

Post by XavSnap »

Example:

UDGspectrum.jpg
UDGspectrum.jpg (9.7 KiB) Viewed 6040 times

Code: Select all

1 CLS
10 RESTORE 200
20 PRINT AT 1,1;
40 FOR B=1 TO 6
50 FOR A=USR "a" TO USR "a"+7
55 READ C
58 POKE A,C
60 NEXT A
70 PRINT "\a";":";
80 NEXT B
100 RESTORE 200
140 FOR B=1 TO 6
145 FOR A=USR "a" TO USR "a"+7
150 READ C
155 POKE A,C
160 NEXT A
170 PRINT AT 10,10;"\a"
180 NEXT B
190 GOTO 100
200 DATA 48,48,32,112,160,32,80,136,48,48,32,48,96,32,80,144,24,24,16,24,52,16,24,40,24,24,16,28,16,16,40,72
210 DATA 12,12,8,28,10,24,24,40,6,6,4,14,20,4,6,5
Break= Shifted space.
UDG2.tzx
(808 Bytes) Downloaded 165 times

UDG2.zip
(81.38 KiB) Downloaded 169 times
udgsp.JPG
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
Crayon21
Posts: 346
Joined: Sun Nov 04, 2018 2:33 am

Re: displaying and animating UDG's on the spectrum

Post by Crayon21 »

what about making them bigger?
In Heck, there are two options for perpetual torment:

Eat the Puckerberry and suffer for eternity:
drink nothing but a cocktail of The Last Dab and Mexican Cake blended and served with
habanero slices
:twisted:
Lardo Boffin
Posts: 2160
Joined: Sat Nov 26, 2016 2:42 am

Re: displaying and animating UDG's on the spectrum

Post by Lardo Boffin »

Use multiple characters.
ZX80
ZX81 iss 1 (bugged ROM, kludge fix, normal, rebuilt)
TS 1000 iss 3, ZXPand AY and +, ZX8-CCB, ZX-KDLX & ChromaSCART
Tatung 81 + Wespi
TS 1500 & 2000
Spectrum 16k (iss 1 s/n 862)
Spectrum 48ks plus a DIVMMC future and SPECTRA
Post Reply