News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
F

Just discovered the forum!

Started by FatAgnus, 22:39, 29 March 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FatAgnus

First, excuse my bad english, I will do my best (but "my best" is still a very bad english).
Two months reading and learning with CPCwiki and today I discover this forum! (yes, kill me please).


I have a few questions, but as long as here I can see a lot of info and answers to "standard problems", before asking I must read the forums.


Another "I want to code the game I didn't code when I was child" user.
Now, let me search for "vertical split without halt and nops" (right, I need a static scoreboard for my horizontal scroll game using CRTC R3 (yes, kill me again please... but we didn't buy Amstrads with modulator in 1985)


Regards.

Devilmarkus

Hi Fattie,
welcome to our forum!
Enjoy it....

I read that you wants to be killed twice.
That's a job for Leonie ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Gryzor

Morning and welcome mate! Maybe I should really make the forum more prominent after all...

Make yourself at home, I'm sure you'll get most of your questions answered :)

FatAgnus

#3
This forum is great, some questions answered, some new questions coming!
When I saw "Cataclysm"... 50hz horizontal scrolling without lateral edges flickering and at pix res?
Hopping it combines soft+hard when scrolling, if not, I must move my "learning project" to the Recycler Bin!



I'm a little bit stuck trying to get a working vertical split without "halt-nop", (like Indiana Jones at the Library looking for that little hotspot). I must clarify some concepts before asking for help... (but I'm afraid that I WILL ASK FOR HELP SOON)


Regards.

EDIT 1: I know that CRTC's R3 is the "damn thing", but I'm a little bit surprised, because lots of soft are 128k+FD only... very few modulators sold, lots of CPC464 still alive, and all Amstrad were packed with monitor (yes Devil, third time: kill me if you want for saying that)

EDIT 2: OMG! WHERE I'm trying to post! This forum is posted-done by "the GODS of CPC"... be patient please! (two months coding for Amstrad after 25 years). I will stole a new PC (my netbook can't power-up run YOUR emulator DevilMarkus, great great soft)

Axelay

Hi, that "Blastardo" demo / WIP is very interesting, looks like just my kind of thing!  :)  (but please, joystick control!)


"Cataclysm" is only 25hz, though a one pixel step is still pretty smooth at that frame rate.  It is using R3 with two screens, one offset by one pixel to achieve the pixel scroll.


Anyway, it sounds like you might find the source and discussion on this thread relevant to what you are trying to do.


If you want a screen split with a single line score line that uses R3, I still have a source example Executioner posted on the Zone some years ago which I can post here if you like (I cant seem to find it anywhere to link to).

arnoldemu

Quote from: FatAgnus on 22:39, 29 March 11
First, excuse my bad english, I will do my best (but "my best" is still a very bad english).
Two months reading and learning with CPCwiki and today I discover this forum! (yes, kill me please).


I have a few questions, but as long as here I can see a lot of info and answers to "standard problems", before asking I must read the forums.


Another "I want to code the game I didn't code when I was child" user.
Now, let me search for "vertical split without halt and nops" (right, I need a static scoreboard for my horizontal scroll game using CRTC R3 (yes, kill me again please... but we didn't buy Amstrads with modulator in 1985)


Regards.
welcome to cpcwiki.

You want to split the screen without HALTs and nops?
Well it is possible using interrupts, but you may still need *some* nops to make it perfect ;)

The way I would do it, is to make 6 interrupt functions, one for each of the 6 interrupts that comes on the screen.
I would synchronise with vsync, and setup the first.
Then at the end of each, I would set the new interrupt function at &0038.
Then when it gets to my sixth, I would set it back to the first function.

Then inside your interrupt function, you do your CRTC code, and then you can have split, using interrupts, no halts, and it can work with a game ;)


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

FatAgnus

#6
Quote from: arnoldemu on 11:11, 30 March 11
welcome to cpcwiki.

You want to split the screen without HALTs and nops?
Well it is possible using interrupts, but you may still need *some* nops to make it perfect ;)

The way I would do it, is to make 6 interrupt functions, one for each of the 6 interrupts that comes on the screen.
I would synchronise with vsync, and setup the first.
Then at the end of each, I would set the new interrupt function at &0038.
Then when it gets to my sixth, I would set it back to the first function.

Then inside your interrupt function, you do your CRTC code, and then you can have split, using interrupts, no halts, and it can work with a game ;)


That is (more or less) my approach, but with only a slow routine (jumping to sub-code related to current interruption, STILL A VERY DIRTY CODE, as the whole project  ;D )


The nops you are talking about are the ones necessary  for a secure "VC=1" before some changes, am I right?


But I'm having problems reprogramming registers... some concepts bad understood, I need more "study", anyway, this is the funny part I think: "why this crap is not working well!"


Thanx to all.

EDIT: Arnoldemu? Arnold's one? I'm seriously wondering if this forum is for me!

FatAgnus

#7
Quote from: Axelay on 11:01, 30 March 11
Hi, that "Blastardo" demo / WIP is very interesting, looks like just my kind of thing!  :)  (but please, joystick control!)


"Cataclysm" is only 25hz, though a one pixel step is still pretty smooth at that frame rate.  It is using R3 with two screens, one offset by one pixel to achieve the pixel scroll.


Anyway, it sounds like you might find the source and discussion on this thread relevant to what you are trying to do.


If you want a screen split with a single line score line that uses R3, I still have a source example Executioner posted on the Zone some years ago which I can post here if you like (I cant seem to find it anywhere to link to).


I registered in this forum after reading that thread!
The same problems (trying to get a steady scoreboard reprogramming R3 twice every frame with "nice italic flickering" effect as result), the same conclusion (doble-buffered scoreboard)... and that is the point I'm now, tying to get a stable "change of memory offsets" to point to the new scoreboard.
Not very lucky for now with the code... Let me try a little bit more, if I can't reach it, I will ask you for that code.

EDIT: AXELAY? SubHunter's AXELAY? Great game!


Powered by SMFPacks Menu Editor Mod