Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use VERA Layer0 for graphics. #68

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

rsbohn
Copy link
Contributor

@rsbohn rsbohn commented Oct 18, 2019

This puts the text layer on top of the graphics for builds after R33. For R33 it uses layer 1.

480 U=VPEEK(15,SLOT+1):VPOKE 15,$1001,U
490 POKE 646,1:PRINT CHR$(147) :REM CLEAR SCREEN WITH NEW BACKGROUND
490 POKE 646,1:PRINT CHR$(147)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that you should write that color number as two-digit hex. Then, it will be more obvious that the number describes both background and foreground colors.

@mist64
Copy link
Collaborator

mist64 commented Nov 17, 2019

Sorry, I missed this one. It has conflicts by now... The location 646 has changed to 713. Care to update? :)

@SerErris
Copy link
Contributor

I know this is obsolete anyhow, but can we please use 1st hex numbers instead of decimals all the time and 2nd can we please use BASIC commands of X16 instead of POKEs where ever possible? This code is hard to read. And now with the REM removed it is getting even worse. Esp if someone else want to maintain it and update it to current release the Poke Number does not mean anything to me, cause I have never seen anything before r37 and it confused the hell out of me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants