MSX1 boot "logo"

Page 7/13
1 | 2 | 3 | 4 | 5 | 6 | | 8 | 9 | 10 | 11 | 12

By Manuel

Ascended (15739)

Manuel's picture

09-05-2018, 08:22

Pippo, I was talking about the screen 0 version... No need to apologize of course. I liked it a lot, still. But it was not entirely what I had in mind.

By gdx

Prophet (3023)

gdx's picture

09-05-2018, 16:57

*deleted by request of gdx*

By Pippo

Champion (420)

Pippo's picture

09-05-2018, 11:39

Manuel wrote:

Pippo, I was talking about the screen 0 version... No need to apologize of course. I liked it a lot, still. But it was not entirely what I had in mind.

Really thank you, Manuel. Big smile
I sincerely hope you will find the perfect logo you are looking for.

Have a very glad day! Smile

By FiXato

Scribe (1520)

FiXato's picture

09-05-2018, 17:02

By PingPong

Prophet (3447)

PingPong's picture

09-05-2018, 22:21

Is this the way the msx 2 logo is built? By means of line commands?
This save memory!

By DamnedAngel

Master (143)

DamnedAngel's picture

09-05-2018, 22:43

Pippo,
For the record, although your solution is obviously not the one that squeezes the most from MSX1's video capabilities, it is the one I, particularly, liked most. I think it captures my feelings of when I first unboxed my Hotbit, back in '85. Simple and beautiful.

Thanks for that and cheers!

By Pippo

Champion (420)

Pippo's picture

10-05-2018, 05:03

I see, Angel.
I was aware my version was a "little" big in size and it was without video effects compared to Msx-1 video capabilities.
Eventually, I hope to do better.
Thank you very much for the compliments and your kind opinion. Smile
They are much appreciated, really.

Cheers to you too. Smile

By gdx

Prophet (3023)

gdx's picture

10-05-2018, 10:27

PingPong wrote:

Is this the way the msx 2 logo is built? By means of line commands?

Yes, I just arranged a bit the program to economize 89 bytes. (In machine language it is a bytes transfer instead of the LINE instruction.)

The basic program can be simpler and a little faster by replacing the lines 40-60 with the lines below.

40 C=1:LINE(239,Y)-(16,Y),1:T=1
50 READ V$: V=VAL("&H"+V$)
60 IF V<255 THEN LINE-STEP(V-T,0),C: C=(C XOR15)+1: T=0: GOTO50

Some explanations:
- Variable T shifts the MSX to the left in its frame (because there is probably an error in first value of each line).
- Each DATA line corresponds to one line of the logo. (FF indicates to go to the next line.)
- A black line is drawn across the full width of the logo before tracing the rest.

By theNestruo

Expert (111)

theNestruo's picture

10-05-2018, 12:01

You can optimize the speed a bit by removing T, and "unrolling" the first LINE as an special case.
Also, C=(C XOR15)+1 can be further optimized as C=C XOR 14 (i.e.: C=C XOR 1 XOR 15).

By theNestruo

Expert (111)

theNestruo's picture

10-05-2018, 14:46

gdx's version in MSXPen: https://msxpen.com/codes/-LC93np5mWSMKtY757Q9
Applying some optimizations: https://msxpen.com/?code=-LC93DZHWjuLugWRqxFw
:)

Page 7/13
1 | 2 | 3 | 4 | 5 | 6 | | 8 | 9 | 10 | 11 | 12