is there a way to use reverse characters in multicolor mode?

Basic and Machine Language

Moderator: Moderators

the777
Vic 20 Newbie
Posts: 16
Joined: Tue Feb 23, 2021 9:08 am

Re: is there a way to use reverse characters in multicolor mode?

Post by the777 »

no, doesnt work unfortunately. i tried 62 which comes out as purple (getting better). maybe i have to define a new character using 01,01,etc?

.......just tried that and im still getting garbage. no black...

thanks for all your help btw...
the777
Vic 20 Newbie
Posts: 16
Joined: Tue Feb 23, 2021 9:08 am

Re: is there a way to use reverse characters in multicolor mode?

Post by the777 »

done it! i just re defined the character as 010101,etc and then used the correct code. it was 19 for an 's' ? weird....
User avatar
chysn
Vic 20 Scientist
Posts: 1205
Joined: Tue Oct 22, 2019 12:36 pm
Website: http://www.beigemaze.com
Location: Michigan, USA
Occupation: Software Dev Manager

Re: is there a way to use reverse characters in multicolor mode?

Post by chysn »

In your original code you weren't setting colors of your replacement screen locations at all:

Code: Select all

155 pokex, 1 : pokex + c, 10 : pokex + 1, 2: pokex + c + 1, 10
156 fort = 1to80 : next : pokex, 32 : pokex+ 1, 32
Line 156 should contain a POKE X + C,0, etc., if you want those set to black.

And 62 is the screen code for >, if that's still your block.
VIC-20 Projects: wAx Assembler, TRBo: Turtle RescueBot, Helix Colony, Sub Med, Trolley Problem, Dungeon of Dance, ZEPTOPOLIS, MIDI KERNAL, The Archivist, Ed for Prophet-5

WIP: MIDIcast BASIC extension

he/him/his
Vic20-Ian
Vic 20 Scientist
Posts: 1214
Joined: Sun Aug 24, 2008 1:58 pm

Re: is there a way to use reverse characters in multicolor mode?

Post by Vic20-Ian »

I don't understand why you redefine > as a block when 160 is a reversed space already, unless this does not display in multi-colour mode.

I will take a look if you repost your corrected code.
Vic20-Ian

The best things in life are Vic-20

Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
Post Reply