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.
*deleted by request of gdx*
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.
I sincerely hope you will find the perfect logo you are looking for.
Have a very glad day!
Is this the way the msx 2 logo is built? By means of line commands?
This save memory!
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!
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.
They are much appreciated, really.
Cheers to you too.
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.
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).
gdx's version in MSXPen: https://msxpen.com/codes/-LC93np5mWSMKtY757Q9
Applying some optimizations: https://msxpen.com/?code=-LC93DZHWjuLugWRqxFw
:)