News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Prodatron

The Vintage Computing Christmas Challenge 2024

Started by Prodatron, 00:57, 03 December 24

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Prodatron

One year passed, and here is the new challenge for 2024:



https://logiker.com/Vintage-Computing-Christmas-Challenge-2024

This time it's a "present/gift".
Looking forward to it again, always crazy with how less bytes some people are able to do this on different platforms.

@Logon System, you have to go for it again! :D

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

lightforce6128

Also looking forward to it. This time it seems there is less symmetry that could be used to shorten the program. But we will see ...

Prodatron

Quote from: lightforce6128 on 01:44, 03 December 24This time it seems there is less symmetry that could be used to shorten the program.
Another problem is, that this time there are 7 different chars in total (including space, excluding line feed).
In the past you always had only 2 chars (including space).

So I wonder, if the entries will be larger this time.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

GUNHED

Here is my first result, no optimisation at all.

It needs &48 Bytes = 72 Bytes

See picture...
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Overflow

Quote from: Prodatron on 00:57, 03 December 24@Logon System, you have to go for it again! :D
Go!

Quote from: Prodatron on 15:10, 04 December 24So I wonder, if the entries will be larger this time.
They will. No doubt they will. That said it also implies many ways to optimize. Nice challenge - different from last year.


Quote from: GUNHED on 12:47, 05 December 24It needs &48 Bytes = 72 Bytes
Almost the same at first shot (70 bytes). Now let's optimize. :)

Unregistered from CPCwiki forum.

GUNHED

First optimisation: Down at &40 = 64 Bytes.
http://futureos.de --> Get the revolutionary FutureOS (Update: 2024.10.27)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Prodatron

With my very first approach I am at 58 bytes, and it seems to be hard to decrease this.
Another idea is needed to reach less bytes.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

BSC

Nice compo. Good to see your participation @Overflow :)

My first try is under 60 bytes. I hope to squeeze one or two more bytes. 
** My website ** Some music

My hardware: ** Schneider CPC 464 with colour screen, 64k extension, 3" and 5,25 drives and more ** Amstrad CPC 6128 with M4 board, GreaseWeazle.

ZorrO

CPC+PSX 4ever

ZorrO

CPC+PSX 4ever

lightforce6128

Quote from: ZorrO on 23:47, 07 December 2499 bytes, no more ideas.  ::)

First I tried with BASIC, three different approaches. But none of them is even close to 99 bytes. So this seems to be a good achievement ... for now. :D

lightforce6128

I find it always surprising how close the assembly solutions are and also how similar the improvement steps are. I implemented two assembly solutions, and with the "Ready" prompt at a bad location I also achieve less than 60 bytes. But the prompt needs to move somehow ... (letting the prompt appear saves some bytes compared to halting the program, but moving the cursor to a good location eats up the improvement again).

While working with this a bit I have to correct myself: There are many symmetries, in the image itself as well as in the numbers.

arnolde

Nice challenge!

I'm at 54 bytes now, but I wonder what Logiker means by 
"All characters can be replaced with another character if this does NOT influence the code."

Does he mean we're not allowed to replace the symbols with others that look similar but have an ascii-code that happen to be useful as constant, opcode or other?

ZorrO

I think for example ZX80 & ZX81 don't have ! and \ but you still can use it as challenge machine.
CPC+PSX 4ever

andycadley

Quote from: arnolde on 21:12, 11 December 24Nice challenge!

I'm at 54 bytes now, but I wonder what Logiker means by
"All characters can be replaced with another character if this does NOT influence the code."

Does he mean we're not allowed to replace the symbols with others that look similar but have an ascii-code that happen to be useful as constant, opcode or other?
I don't think that would be allowed, since then the symbols used literally affects the code. It's really an exception for machines whose character set doesn't contain suitable characters.

Prodatron

#15
Quote from: arnolde on 21:12, 11 December 24Nice challenge!

I'm at 54 bytes now, but I wonder what Logiker means by
"All characters can be replaced with another character if this does NOT influence the code."

Does he mean we're not allowed to replace the symbols with others that look similar but have an ascii-code that happen to be useful as constant, opcode or other?
It means, that if using characters, which

- are NOT originally specified; see here...

QuoteThe characters used are:
  • - Minus
  • + Plus
  • ! Exclamation mark
  • \ Backslash
  • / Slash
  • O Big O
All characters can be replaced with another character if this does NOT influence the code. E.g. backslash on the C64 gets replaced by chr$(205). Or on the right-hand side I replaced the big O by a smaller one, as it looks nicer, but it didn't influence the code. At any time, I could replace the o with O or the C64 Backslash with its counterpart on the C64.

- AND will change/optimize your code

are NOT allowed.

Probably the best example is using "*" instead of "-" (you probably know, what this could mean :P ). This of course is not allowed.

PS: Hope Logiker isn't angry, that people are posting their current sizes, as this is against the rules, but I did this mistake as well in the past, sorry...

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

arnolde

Quote from: Prodatron on 23:05, 11 December 24Probably the best example is using "*" instead of "-"
I would say we had enough fun with 42 in the last few years  ;)

Quote from: Prodatron on 23:05, 11 December 24Hope Logiker isn't angry, that people are posting their current sizes,
I think it's only forbidden to post the final size or did I misunderstand?

Prodatron

Haha indeed. Yes you are probably right :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

ZorrO

Logiker would like more people to participate. I don't know, maybe then there would be a chance for more sponsors. And there are many people who will write some code and read that others are better because they wrote much shorter code, and will think that sending their work makes no sense because I won't win anything anyway.

Last year it was similar, he asked people not to brag on forums etc. but he didn't say that you are out of the competition if you give your result because then there would be fewer people, not more. Or maybe someone weaker would even win, because a better one will be out because he bragged about his result.

So he has a dilemma whether to throw such people out of the competition or not. Because there would be a storm of denunciations, but would it increase the number of participants?

But I see that his request was ignored this year too.
CPC+PSX 4ever

eto

Imho the discussion here with the progress that is shared makes it more interesting - not less. I could not care less about that competition but reading here about it and seeing how people squeeze out a byte here or there - that makes it interesting again.

Maybe it would be better to find different prize catagories to motivate more people to come up with their ideas - not only the size itself. E.g. most elegent code, most surprising solution, best newcomer.

ZorrO

Categories can be multiplied, e.g. each platform or language. Although in many there would be only one participant. But without sponsors they will only get congratulations.
CPC+PSX 4ever

arnolde

Quote from: arnolde on 21:12, 11 December 24I'm at 54 bytes now, but I wonder what Logiker means by 
Also, I have to admit that this was the strangest kind of bragging: It was actually a typo, I meant 64 bytes  :picard: 
Now, meanwhile I have condensed it, but I don't see 54 happening for now – maybe if I find another approach... 

lightforce6128

Quote from: arnolde on 20:51, 13 December 24Now, meanwhile I have condensed it, but I don't see 54 happening for now – maybe if I find another approach...

I found another approach  ;D  and the problem with the prompt could also be solved. Now I cannot find anything to compress this further, but we will see. The challenge is not over.

Until now I tried 4 approaches in BASIC and 3 in assembly.

ZorrO

CPC+PSX 4ever

Overflow

Hi guys! I can confirm I will submit one entry. I've already spent a few days and many hours about that challenge. More fun than last year ! Since the shape is more complex, I believe there's place for more different algorithms, more optimizations and more tricks. Tonight I'm likely done with final size. 10 days to go !
:-X :-X :-X

Unregistered from CPCwiki forum.

Powered by SMFPacks Menu Editor Mod