Adding a Kanji ROM

Página 4/6
1 | 2 | 3 | | 5 | 6

Por gdx

Enlighted (4808)

imagem de gdx

20-11-2016, 23:51

NYYRIKKI wrote:
gdx wrote:

IPL or CMD are similar to CALL. I think we can put them in the same set.

No they are not. CALL is a totally different beast that checks out all slots for extended commands. IPL and CMD work exactly like FILES. Only difference is that in case Disk-BASIC is present the FILES hook is populated and the IPL & CMD hooks are not. They all should be put to category "partially handled reserved words for future expansions" together with ATTR$, LOC, LOF, EOF, FPOS etc. If we want to look the situation from user perspective instead of programmers perspective then we can call them "unused Disk-BASIC commands"

The instructions do not work the same way than CALL but they are there so that we can extend the Basic instructions. The method is indicated here: (See at 4.3 命令の増設)

Por NYYRIKKI

Enlighted (5889)

imagem de NYYRIKKI

21-11-2016, 01:38

gdx wrote:

The instructions do not work the same way than CALL but they are there so that we can extend the Basic instructions.

I know they can be used to extend BASIC instructions and that they have been even used to do so (ie. Memman), but that is not what they were meant to be used. ie. IPL command was meant to be used to define what command is executed when computer is booted from disk, but as they selected FAT as filesystem they also selected to automatically just execute RUN"AUTOEXEC.BAS" instead and so IPL became useless command. With exactly same method you could extend many other commands as well like FILES or FOR, but to my eyes it does not mean that that we should document any of them as "instructions to extend BASIC". Good that someone has found a use for them, but in reality they are still just left overs from the history of BASIC.

Por gdx

Enlighted (4808)

imagem de gdx

21-11-2016, 09:30

NYYRIKKI wrote:

IPL command was meant to be used to define what command is executed when computer is booted from disk, but as they selected FAT as filesystem they also selected to automatically just execute RUN"AUTOEXEC.BAS" instead and so IPL became useless command.

Where did you get that information?

I added the instructions CMD, IPL and WAIT.

Please correct if there are any errors. If your information is good, we can add: "This instruction should be meant to define what command is executed when computer is booted from disk, but as they selected FAT as filesystem they also selected to automatically just execute RUN"AUTOEXEC.BAS" instead and so IPL stayed an unused instruction."

Por NYYRIKKI

Enlighted (5889)

imagem de NYYRIKKI

21-11-2016, 10:45

gdx wrote:
NYYRIKKI wrote:

IPL command was meant to be used to define what command is executed when computer is booted from disk, but as they selected FAT as filesystem they also selected to automatically just execute RUN"AUTOEXEC.BAS" instead and so IPL became useless command.

Where did you get that information?

I added the instructions CMD, IPL and WAIT.

Well, that was how Microsoft used the command earlier and my FAT addition came from the fact that FAT-file system does not have a reserved sector for this purpose -> Implementing it would have more or less compromised compatibility with PC. You can verify the details ie. from Spectravideo BASIC reference manual @ Hans Otten page

This same goes for ATTR$... It was meant to read READ/WRITE attributes from drive/file, but as FAT has only attributes for files and they are not compatible, I think this was the reason to leave it out... For CMD I don't have a solid explanation... but when I look the Windows computer in front of me (that is also product of Microsoft) I would not be very surprised to learn that it was the original plan to start command prompt (see CMD.EXE). For some unknown reason they just replaced it with CALL SYSTEM instead... but this is just pure speculation...

Por gdx

Enlighted (4808)

imagem de gdx

22-11-2016, 00:14

Mars2000, The Turbo R PCM is not standard. Why insist on putting these extended instructions with those of the MSX-Basic?
The Aucnet NIA-2001 has this PCM. These are clearly specific instructions for the MSX turbo R from Panasonic.

Por mars2000you

Enlighted (6014)

imagem de mars2000you

22-11-2016, 01:22

MSX-BASIC 4.0 is the follower of MSX-BASIC 3.0. that is the follower of 2.0/2.1, etc..

If you put the 3 new BASIC instructions added by BASIC 4.0 outside the standatd instructions, then you should do the same for the unique new instruction of BASIC 3.0 and for the many new instructions of BASIC 2.0.

Coherence requires to handle these 3 new instructions on the same equal way as the additions of BASIC 2.0/2.1 and 3.0 (with exception of the already discussed MemoryDisk BASIC).

And the PCM is part of the standard defined as MSX Turbo R.

Por gdx

Enlighted (4808)

imagem de gdx

22-11-2016, 01:25

Aucnet NIA-2001 has BASIC 4.0 but no PCM. The Turbo R PCM use Basic extension.

Por mars2000you

Enlighted (6014)

imagem de mars2000you

22-11-2016, 01:27

gdx wrote:

A ucnet NIA-2001 has BASIC 4.0 but no PCM.

Because it's not officially a MSX Turbo R.

Por gdx

Enlighted (4808)

imagem de gdx

22-11-2016, 01:55

Anyway CALL PAUSE, CALL PCMPLAY and CALL PCMREC are extended instructions not MSX-Basic instructions.

It is not logical to separate the others extended instructions but not the ones.

Por mars2000you

Enlighted (6014)

imagem de mars2000you

22-11-2016, 01:53

And Disk BASIC has many instructions without CALL. Not everything is always logical!

Página 4/6
1 | 2 | 3 | | 5 | 6