Author Topic: Overscan  (Read 9911 times)

0 Members and 2 Guests are viewing this topic.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
    • Awards
Re: Overscan
« Reply #25 on: 18:10, 14 June 10 »
That would be great.

I've also written Demoniak, asking for a new release of ConvImgCpc that saves binary overscan files with CRTC 2 support, but I've been told he's not that active anymore, so I don't think that'll happen.
After talking with Mr.Lou and dissassembling the file from convimgcpc, I saw that CRTC register 3 is not touched.
So for him, he can set it before and then run the file to display the picture.

OUT &BC00,3 : OUT &BD00,&89

Simple :)
like
0
No reactions
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.206
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
    • Awards
Re: Overscan
« Reply #26 on: 18:14, 14 June 10 »
Yea, that was a really easy fix!!!

Thanks a lot.  ;D

OUT &BC00,3
OUT &BD00,&89
RUN"CONVIMGCPC-OUTPUT-FILE.SCR"

Good to know. Will test later if this also fixed some slideshows that doesn't run on my CPC464. You never know.  :)
like
0
No reactions

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
    • Awards
Re: Overscan
« Reply #27 on: 18:42, 14 June 10 »
RUN"CONVIMGCPC-OUTPUT-FILE.SCR"

RUN" ?!?
This would let your CPC reset after viewing the image.
Better:
OPENOUT"D":MEMORY &1FF:LOAD"CONVIMGCPC-OUTPUT-FILE.SCR",&200:CALL &811
like
0
No reactions
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 mr_lou

  • 6128 Plus
  • ******
  • Posts: 3.206
  • Country: dk
    • index.php?action=treasury
    • 8-bit Memoirs - a Blu-ray diskmag-like eBook about the 8-bit era
    • Awards
Re: Overscan
« Reply #28 on: 18:58, 14 June 10 »
Better:
OPENOUT"D":MEMORY &1FF:LOAD"CONVIMGCPC-OUTPUT-FILE.SCR",&200:CALL &811

That's good to know! Thanks.

However, my BASIC loader contains other stuff as well, so I get a MEMORY FULL because my BASIC loader is too big.
like
0
No reactions

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
    • Awards
Re: Overscan
« Reply #29 on: 14:25, 16 June 10 »
Good news: I patched the overscan code for CRTC type 2 CPC's.
So it's compatible now for all CPC types.
It also returns to basic when screen is showing.

How to load JavaCPC Paint-Overscan screen?
OPENOUT"D":MEMORY &1FF:LOAD"MYFILE.SCR",&200:CALL &811:CALL &BB18:CALL &831

CALL &831 is used  to restore the CRTC registers.

Sad: The JavaCPC-Paint stored overscan screens are not ConvImgCPC compatible now :(
But i'll send the source to Demoniak as soon as I see him.

JavaCPC Paint will be able to load ConvImgCPC generated overscan screens, too. So it's easy to convert them to the new routine:
- Create an overscan screen with ConvImgCPC
- Load it into JavaCPC-Overscan paint
- Store it back

You can directly drag & drop your SCR file into JavaCPC Paint.

JavaCPC with this new code will be available on request or wait until it's release.
« Last Edit: 14:27, 16 June 10 by Devilmarkus »
like
0
No reactions
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