News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Recent posts

#1
I need this!!!
#2
Hi everyone, hola CPC archeologists!

I managed to recover the source files which make up the 1st iteration of Soundtrakker, written around 1991. The README contains a short story about the recovery, so have a look at https://github.com/BetaSoftCologne/soundtrakker if you are interested in some old stuff. 
#3
Everyone was talking about the Atari 2600. Never seen one or something similar, just arcades.
So I told my mother I want one.
Then I went out to brag to my friends that I would get one too.
A friend told me then : Why don't you get a Spectrum, it's an Atari and computer.
(You guessed right if you think that we were totally noobs)
Went back to home asking for a Spectrum...
Out again, same thing. Another one told me : Why don't you get an Amstrad?
What's this now? It's an Atari and computer, but it has a disk instead of tape and loads faster.
And Amstrad it was for me.
#4
T
Programming / CPCTelera 1.5 Decrunching Issu...
Last post by Typhon - Today at 20:40
Allo all,
So I've got a small CPCTelera 1.5 (development branch) uncompression issue. 
I have successfully generated a compressed and packed png (160x200 for Mode 0 screen) ->bin (via image_conversion.mk):

PALETTE=0 2 3 4 6 9 11 13 14 15 17 18 20 24 25 26
$(eval $(call IMG2SP, SET_MODE        , 0));
$(eval $(call IMG2SP, SET_PALETTE_FW  , $(PALETTE)))
$(eval $(call IMG2SP, SET_OUTPUT      , bin))
$(eval $(call IMG2SP, SET_IMG_FORMAT  , screen))
$(eval $(call IMG2SP, SET_FOLDER      , tmp/))
$(eval $(call IMG2SP, CONVERT         , img/transition.png, 160, 200, transition, palette, tileset))
$(eval $(call IMG2SP, CONVERT_PALETTE , $(PALETTE), t_palette))


Which is then converted again successfully via compression.mk into three source files:

$(eval $(call ADD2PACK,transition,tmp/transition.bin))
$(eval $(call PACKZX7B,transition,src/))


With amongst other things, 3 output files, transition.h, transition.s, and transition.h.s. I include these in my code successfully:

// File 'src/transition.h' generated using cpct_pack
// Compresor used:  zx7b
// Files compressed: [ 'tmp/transition.bin' ]
// Uncompressed:    16400 bytes
// Compressed:      630 bytes
// Space saved:      15770 bytes
//
#ifndef transition_630_H
#define transition_630_H
// Declaration of the compressed array
extern const unsigned char transition[630];
// Address of the latest byte of the compressed array (for unpacking purposes)
#define transition_end      (transition + 630 - 1)
// Compressed and uncompressed sizes
#define transition_size_z  630
#define transition_size    16400
#endif

However, when I try to decompress and display onto the screen:

cpct_zx7b_decrunch_s(VIDEO_MEM_END, transition_end);

It *does* display (see attached screenshot), however, the decrunching routine doesn't seem to stop and overwrites the rest of my program with unpredictable results (crashes mainly).

You cannot view this attachment.

Note that (as mentioned on a previous thread on the forum.) #define VIDEO_MEM_END ((void*)0xffff)


if I don't decrunch, all is good, but the image doesn't display.

What gives?

#5
In 80's my papa was the publisher of a "racing form". A 4 pages newsletter on horse racing published 3-4 times a week, our family business. A friend of him, a pioneer computer programmer, eventually convinced him to add comparative racing data to the newsletter. In 1986 he offered to write the software for granted. And he did too (in GWBasic), both for data entry, a prediction analysis alghorithm (which was quite genial at the time) and for printing the proofs (via an electronic typewriter). The only thing we needed was a "PC compatible". So papa bought an Amstrad PC 1512 (with double disc drive, and no hdd). The plan proved to be very successful but this is another story. Alongside the 1512, the seller convinced him to buy a CPC 464 with green screen monitor for his nerdy son (yours truly) who was craving for anything, well, nerdy.

So the answer is that the CPC chose me, not the vice versa. And I'm happy it did!
#6
Quote from: Targhan on Today at 18:18I didn't choose the CPC. It chose me.
Yeah!  Whole universe was create because God wanted to you got CPC. :)
#7
The mouse needs a NOT gate for each direction. And that's all. I once made something similar to ST mouse.
Years later I thought that even that wouldn't be necessary. Just supply 5V to pin 7 in mouse, e.g. from pin 5 or 9 from CPC through diodes. That is, from the unused "mass" to the second joystick or from Fire3. I don't remember which direction the current flows. And instead of NOT gates, replace up<>down and right<>left. And theoretically it should work. But I don't have CPC at hand to check it.
#8
avatar_Deevee
Programming / Re: Playing music with BASIC
Last post by Deevee - Today at 19:43
I wonder if we are not saying the same thing with different words ^^
#9
avatar_genesis8
Emulators / Re: dMagnetic 0.26 - Magnetic ...
Last post by genesis8 - Today at 19:38
v0.37 is out since May 2023 at Dmagnetic
#10
They were our school's official "computer class" computers, which meant there was a steady stream of games available for swapping :D We also used them to produce our student magazine. When a classmate of my brother sold his 6128, I begged my dad to get it for me, and he relented.

A few years later the school got IBM PCs and let the CPCs go for a song, so I picked up two more for around 10 DM (5€) each.
The terrible thing is, I only have one of the school CPCs left in my possession, and I have literally no idea what happened to the other two.

Powered by SMFPacks Menu Editor Mod