Author Topic: Just discovered the forum!  (Read 1909 times)

0 Members and 1 Guest are viewing this topic.

FatAgnus

  • Guest
Just discovered the forum!
« on: 00:39, 30 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.
« Last Edit: 01:16, 30 March 11 by FatAgnus »

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1017
  • Likes Given: 926
Re: Just discovered the forum!
« Reply #1 on: 01:06, 30 March 11 »
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

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.912
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 4030
  • Likes Given: 7257
Re: Just discovered the forum!
« Reply #2 on: 10:48, 30 March 11 »
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

  • Guest
Re: Just discovered the forum!
« Reply #3 on: 11:27, 30 March 11 »
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)
« Last Edit: 11:53, 30 March 11 by FatAgnus »

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 594
  • Country: au
  • Liked: 394
  • Likes Given: 89
Re: Just discovered the forum!
« Reply #4 on: 13: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).

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2280
  • Likes Given: 3478
Re: Just discovered the forum!
« Reply #5 on: 13:11, 30 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

  • Guest
Re: Just discovered the forum!
« Reply #6 on: 13:34, 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!
« Last Edit: 13:52, 30 March 11 by FatAgnus »

FatAgnus

  • Guest
Re: Just discovered the forum!
« Reply #7 on: 13:39, 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!

« Last Edit: 13:50, 30 March 11 by FatAgnus »