Schrijver
| MSX Puzzle of the day - Solve this!
|
GuyveR800 msx guru Berichten: 3048 | Geplaatst: 03 November 2004, 13:50   |
loadaddress = promptaddress  |
|
NYYRIKKI msx master Berichten: 1525 | Geplaatst: 04 November 2004, 07:45   |
Quote:
| loadaddress = promptaddress 
|
Try a bit harder. Prompt is in clock IC.  |
|
[D-Tail]
 msx guru Berichten: 3019 | Geplaatst: 04 November 2004, 08:50   |
Loadaddress = buffer for promptaddress?  |
|
glaurungattack msx novice Berichten: 18 | Geplaatst: 04 November 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.
|
|
NYYRIKKI msx master Berichten: 1525 | Geplaatst: 04 November 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.
We have a winner here!
|
|
snout
 msx legend Berichten: 4991 | Geplaatst: 09 November 2004, 10:05   |
Yay! On to the next MSX puzzle!  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!  |
|
mars2000you msx master Berichten: 1723 | Geplaatst: 12 November 2004, 23:22   |
|
|
|
|
|