MSX Puzzle of the day - Solve this!

Page 4/4
1 | 2 | 3 |

By NYYRIKKI

Enlighted (5384)

NYYRIKKI's picture

04-11-2004, 07:45

loadaddress = promptaddress Tongue
Try a bit harder. Prompt is in clock IC. Smile

By [D-Tail]

Ascended (8232)

[D-Tail]'s picture

04-11-2004, 08:50

Loadaddress = buffer for promptaddress? Tongue

By glaurungattack

Expert (119)

glaurungattack's picture

04-11-2004, 09:38

What about this: load keyboard buffer pointers (F3F8-F3FB) with values pointing to file name area (71, F8, 66, F8 = F866-F871)? But this would crash the Basic, since it doesn't put keyboard buffer back to its original location.

Another one: load a ",R" after "HELLO" in the Basic interpreter buffer, from F427 on: 2C, 52, 00, and some code after that (execution address points here): 3E, 24, 32, 26, F4, 11, 21, F4, 0E, 09, C3, 7D, F3.

LD A,'$'
LD (0F426H),A
LD DE,0F421H
LD C,9
JP 0F37DH

This will write file name, but in fact the code part could do any other thing.

By NYYRIKKI

Enlighted (5384)

NYYRIKKI's picture

04-11-2004, 13:31

I didn't think, that this later one could work at all, but it seems I'm wrong!

I did a bit simpler test by filling 32bytes from #F41F with ":" and then I put PRINT command (#91) followed by "Hello" and zeros and it really seems to execute correctly!

I thought that people would solve this by loading code to hooks or routines in #F380 or something like that, but why to do things hard way, when you can use also easy way. Smile

We have a winner here!

By snout

Ascended (15187)

snout's picture

09-11-2004, 10:05

Yay! On to the next MSX puzzle! Smile How about this one: the winner of the MSX Puzzle has to think of a new puzzle/question. This can also be a question like 'in what year did Konami release SD-Snatcher', or something like that. So: development, trivial questions, mindbreakers... everything is allowed! Smile

By mars2000you

Enlighted (5513)

mars2000you's picture

12-11-2004, 23:22

A Quiz or A Puzzle ? You can try this :

http://www.msx.org/forumtopic4018.html

:)

Page 4/4
1 | 2 | 3 |