News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_abalore

BASIC listing for Play2CPC

Started by abalore, 21:35, 16 January 23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abalore

If you own a Play2CPC expansion, it still has a few surprises, boot in BASIC and type the following code:

10 OUT &7F00,&X100100
20 OUT &F980,&11
30 OUT &F880,&X111111
40 FOR i=&18 TO &1D
50 OUT &F980,i
60 OUT &F880,&X11011111
70 NEXT
80 OUT &F980,&10
90 a$="":WHILE a$="":a$=INKEY$:WEND
100 OUT &F880,2^(VAL(a$)-1)
110 GOTO 90

and then press numbers from 1 to 6

Enjoy!

eto

Quote from: abalore on 21:35, 16 January 23it still has a few surprises
still waiting for the documentation ;-) 


pelrun


abalore

Quote from: pelrun on 06:06, 17 January 23
Quote from: abalore on 21:35, 16 January 2310 OUT &7F,&X100100

 :o


Yes. Bit 5 is unused in the gate array, but used in the Play2CPC.

pelrun

Sure, but there's more than just the gate array on the bus. Putting 0 in B turns all of them on, surely?

abalore

Quote from: pelrun on 08:11, 17 January 23Sure, but there's more than just the gate array on the bus. Putting 0 in B turns all of them on, surely?

good catch, it's:

10 OUT &7F00,&X100100

TotO

#6
A habit of assembler programmer? ;D

I think you wrote &7F00 instead of &007F and the BASIC simplified before the copy/paste.
To avoid that (8bit port value), people may use &7FFF to only set to 0 the used bits.

EDIT: Please @Gryzor, can you edit the listing. Thank you! :)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Gryzor


GUNHED

Quote from: eto on 22:50, 16 January 23
Quote from: abalore on 21:35, 16 January 23it still has a few surprises
still waiting for the documentation ;-)


Same here!  :)

BTW: How much Play2CPC were sold? Are they still produced?
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

abalore

Quote from: GUNHED on 14:26, 18 January 23BTW: How much Play2CPC were sold? Are they still produced?


Yes, we are still assembling and delivering the second batch for Alcon+Play2CPC bundles and the stand-alone boxed units.

A programmer's manual is in progress, but I can answer specific questions here.

GUNHED

#10
No problem to wait until the manual is finished. No need to 'type in' the informations twice and waste time.  :) :) :)

Of course it's of interest how much units are sold / will be sold. That's a motivation for programmers.

Well, nothing can beat the M4 card (in terms of sold units), but as programmer I want to support as much different hardware as I can. And since last year I decided for myself to invest more time into that kind of hardware which more people do own (and hopefully use).
The other point is: Can a particular expansion still be bought? As long as something is still produced and sold it deserves imho more attention compared to something you can't get any longer (especially if there is no way to produce it for oneself by oneself).

Eventually it's all about to provide as much fun and love for the CPCs, Plusses and its users.  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

abalore

Quote from: GUNHED on 15:43, 18 January 23No problem to wait until the manual is finished. No need to 'type in' the informations twice and waste time.  :) :) :)

Of course it's of interest how much units are sold / will be sold. That's a motivation for programmers.

Well, nothing can beat the M4 card (in terms of sold units), but as programmer I want to support as much different hardware as I can. And since last year I decided for myself to invest more time into that kind of hardware which more people do own (and hopefully use).
The other point is: Can a particular expansion still be bought? As long as something is still produced and sold it deserves imho more attention compared to something you can't get any longer (especially if there is no way to produce it for oneself by oneself).

Eventually it's all about to provide as much fun and love for the CPCs, Plusses and its users.  :) :) :)

The Play2CPC is basically a Plus cartridge port with a Playcity. I saw FutureOS has a cartridge version and supports Playcity, so it's already compatible with Play2CPC.

The Play2CPC has other extra features that could be interesting to use, like 512K RAM (accessed like ROM), that will be explained in the documentation.

Powered by SMFPacks Menu Editor Mod