Basic course for newbies

Página 6/11
1 | 2 | 3 | 4 | 5 | | 7 | 8 | 9 | 10 | 11

Por Poltergeist

Champion (278)

imagem de Poltergeist

23-12-2013, 23:07

@NYYRIKKI: You now the topic says "Basic course for newbies", right Wink But I do agree: Using BDOS is better, way better... (I assume you're using BDOS calls, don't feel the urge to disassemble that piece of ML)

Por edoz

Prophet (2441)

imagem de edoz

24-12-2013, 18:41

I will play arround with this 'BDOS methode' But it's nice to know how it works indeed... and is dos needed for this? Or just disk basic ?

Por edoz

Prophet (2441)

imagem de edoz

24-12-2013, 18:42

BDW: VPOKE is also nice to play with i found out today Big smile

Por Poltergeist

Champion (278)

imagem de Poltergeist

24-12-2013, 20:38

@edoz: MSX-DOS is not needed.

Por Manuel

Ascended (18788)

imagem de Manuel

25-12-2013, 08:45

BDOS is a set of routines for disk usage (the disk BIOS), which is in the disk ROM.

Por NYYRIKKI

Enlighted (5918)

imagem de NYYRIKKI

27-12-2013, 00:36

Poltergeist wrote:

@NYYRIKKI: You now the topic says "Basic course for newbies", right Wink But I do agree: Using BDOS is better, way better... (I assume you're using BDOS calls, don't feel the urge to disassemble that piece of ML)

Yes, that is correct and I do agree that this is not good example for newbies. How ever this is one of those things that simply can't be done in newbie friendly way... So I thought that it is better alternative to give "unreadable code" that people can adapt to their needs rather than teaching how to do things in a way that causes trouble & compatibility issues later anyway. In this example I used two BDOS FCB functions: #11 Search first entry and #12 Search next entry but I will not explain it better on this topic.

Now please start asking more easy questions Tongue File handling & BASIC is not the best topic to start learning.

Por wolf_

Ambassador_ (9956)

imagem de wolf_

27-12-2013, 08:45

How about explaining what area BASIC can use to poke random data? I often see $c000, but is there any reason for that? What're the lower and upper address of which you can be sure that no other BASIC-code, tsr or whatever interferes? And is this the same area where BASIC stores its variables and arrays? And is this user-pokable area the same in each MSX model (with sufficient memory)?

Por Vampier

Prophet (2397)

imagem de Vampier

27-12-2013, 09:27

I'll let our Finish friend write part 2.

Por edoz

Prophet (2441)

imagem de edoz

27-12-2013, 09:35

To bad. Because, I'm a beginner, and this thread is fun to learn so far. (Even i do not understand anything but it makes me curious what you can do in MSX basic and behind that..) At this moment i can only do thing is C# and VB.NET, but that don't help me on the MSX. For now i learned that file handling is a bit complex on the MSX. Not as simple as filehandling in VB Big smile

Por ARTRAG

Enlighted (6844)

imagem de ARTRAG

27-12-2013, 10:08

I'd say that file handling in basic is "basic" ;-)
Msx basic has born before the diffusion of disk drives, thinking mainly to cassettes and sequential media.
You can easily access files whose names you know already, both ascii and binary files are supported, but there is no simple way e.g. to read the content of a directory or to generate a name for a temporary file not colliding with others

Página 6/11
1 | 2 | 3 | 4 | 5 | | 7 | 8 | 9 | 10 | 11