Overscan

Started by CPCLER, 12:45, 02 July 09

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

arnoldemu

Quote from: mr_lou on 08:07, 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 :)
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

mr_lou

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.  :)

Devilmarkus

Quote from: mr_lou on 18:14, 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
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

mr_lou

Quote from: Devilmarkus on 18:42, 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.

Devilmarkus

#29
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.
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

Powered by SMFPacks Menu Editor Mod