unsightly white and yellow columns

Everything related to BASIC version 1.x (Oric 1 and Atmos) or HYPERBASIC (Telestrat).
Don't hesitate to give your small program samples, technical insights, or questions...
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

unsightly white and yellow columns

Post by jbperin »

Hi all,

I'm trying to program, on Oric, something similar to this screen:
bottom.PNG
I came up with this little script:

Code: Select all

100 CLS
110 HIRES
120 POKE 49000, 135
130 POKE 49040, 135
140 POKE 49080, 135
150 POKE 49001, 148
160 POKE 49041, 148
170 POKE 49081, 148
180 POKE 49043, 10
190 POKE 49083, 10
200 POKE 49004, 124
210 POKE 49044, 124
220 POKE 49084, 124
230 POKE 49007, 80
240 POKE 49008, 69
250 POKE 49009, 65
260 POKE 49010, 67
270 POKE 49011, 69
280 POKE 49012, 20
290 POKE 49048, 49
300 POKE 49088, 49
310 POKE 49049, 48
320 POKE 49089, 48
330 POKE 49050, 48
340 POKE 49090, 48
350 POKE 49051, 37
360 POKE 49091, 37
370 POKE 49014, 124
380 POKE 49054, 124
390 POKE 49094, 124
400 POKE 49015, 9
410 POKE 49055, 9
420 POKE 49095, 9
430 POKE 49057, 65
440 POKE 49058, 50
450 POKE 49097, 40
460 POKE 49098, 36
470 POKE 49099, 32
480 POKE 49020, 8
490 POKE 49060, 10
500 POKE 49100, 10
510 POKE 49021, 124
520 POKE 49061, 124
530 POKE 49101, 124
540 POKE 49023, 76
550 POKE 49024, 79
560 POKE 49025, 86
570 POKE 49026, 69
580 POKE 49065, 49
590 POKE 49105, 49
600 POKE 49066, 50
610 POKE 49106, 50
620 POKE 49028, 124
630 POKE 49068, 124
640 POKE 49108, 124
650 POKE 49030, 70
660 POKE 49031, 76
670 POKE 49032, 79
680 POKE 49033, 87
690 POKE 49034, 69
700 POKE 49035, 82
710 POKE 49072, 51
720 POKE 49112, 51
730 POKE 49036, 124
740 POKE 49076, 124
750 POKE 49116, 124
And I don't understand why I have these unsightly white and yellow columns on the left part of the panel.
Attempt.PNG
Attempt.PNG (9.78 KiB) Viewed 4637 times
If someone can help ..

PS: And I'm also looking for a way to draw a face in the midst of panel .. any clue ?

Thanks
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: unsightly white and yellow columns

Post by iss »

jbperin wrote: Tue Oct 26, 2021 11:30 amAnd I don't understand why I have these unsightly white and yellow columns on the left part of the panel.
Oric executes exactly what you ordered :).
Try this lines...

Code: Select all

110 HIRES:PAPER4:INK7:POKE#26A,10
120 POKE 49000, #14
130 POKE 49040, #14
140 POKE 49080, #14
150 POKE 49001, 7
160 POKE 49041, 7
170 POKE 49081, 7
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: unsightly white and yellow columns

Post by jbperin »

iss wrote: Tue Oct 26, 2021 11:50 am Try this lines...
Hey !! That works nice :-)

Thank you Iss ..
WithNewPanel.png
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: unsightly white and yellow columns

Post by Dbug »

jbperin wrote: Tue Oct 26, 2021 11:30 am PS: And I'm also looking for a way to draw a face in the midst of panel .. any clue ?
Well, you have two complete charsets you can use, you can redefine some characters to make the face and the items.
Obviously that will only be in two colors per block, but that's doable.

Would probably be difficult to get something that looks nice, but in worse case you could still end up with something like that:
Attachments
image_2021-10-26_193804.png
image_2021-10-26_193804.png (3.87 KiB) Viewed 4594 times
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: unsightly white and yellow columns

Post by Dbug »

With a bit of work, you can get color, but you basically need to rethink the entire color scheme for the bottom bar, it does not have to be white on blue.
image_2021-10-26_195818.png
image_2021-10-26_195818.png (2.86 KiB) Viewed 4588 times
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: unsightly white and yellow columns

Post by jbperin »

Dbug wrote: Tue Oct 26, 2021 6:37 pm In worse case you could still end up with something like that:
May I ask you where you got this image from?

I think I like the worse case.
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: unsightly white and yellow columns

Post by Dbug »

May I ask you where you got this image from?
Heuuu.... did it yesterday while answering?

I took the first 320x200 screenshot of wolfenstein I could find, cut the bottom part, resized it to 240x24, and pixeled over.
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: unsightly white and yellow columns

Post by jbperin »

Dbug wrote: Tue Oct 26, 2021 6:37 pm Would probably be difficult to get something that looks nice, but in worse case you could still end up with something like that:
I managed to get worst than the worst case :(
bottom_panel.png
bottom_panel.png (7.2 KiB) Viewed 2675 times
WOLF.tap
(10.82 KiB) Downloaded 121 times
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: unsightly white and yellow columns

Post by Dbug »

Well, the most obvious mistake is that your numbers touched the text, so they have to be moved one line down, and for the rest, consistency is key, the E in HEALTH was one pixel narrower, some of the letters were different (like the L), etc... consistency is key.
image_2022-04-09_133636112.png
image_2022-04-09_133636112.png (8.76 KiB) Viewed 2668 times
Post Reply