basic in the new msx (Revival MSX Fora)MSX Resource Center MSX 25th Anniversary Event           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 141 gasten en 7 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Revival - basic in the new msx

Ga naar pagina ( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 Volgende pagina )
Schrijver

basic in the new msx

zett
msx addict
Berichten: 282
Geplaatst: 14 Oktober 2003, 00:37   
How about some new extensions in the one chip msx-basic?
I was thinking of :
-call screensplit(y)
-call rotate
-call zoom
-mode(kind of new screen efector)

give me your opinion!
wolf_
online

msx legend
Berichten: 4530
Geplaatst: 14 Oktober 2003, 00:41   
uhm, a screensplit in basic ?

and what's call zoom supposed to do, on what videochip?
zett
msx addict
Berichten: 282
Geplaatst: 14 Oktober 2003, 00:47   
I see it like a extension on the standaard basic now .
a extra command in basic .
this way it's easier to create a good game in basic.

Lord Zett
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 14 Oktober 2003, 01:50   
While nice ideas, I think there are better ways to support this than through CALL commands.
Afterall, a new BASIC will be a new BASIC, not just old BASIC with some new CALL commands.
zett
msx addict
Berichten: 282
Geplaatst: 14 Oktober 2003, 02:47   
okay but its just a idea(i like)
zett
msx addict
Berichten: 282
Geplaatst: 14 Oktober 2003, 03:40   
and makes the msx more powerfull for creating games when ther is a hardware bult in tools like scroll...

legacy
msx addict
Berichten: 510
Geplaatst: 14 Oktober 2003, 20:42   
It seems to me, its better to have basic seperate on disk, then it can easely upgrated.
As long as MSX lives, there are always people who will make basic more powerfull.
A kind of open basic must be a option.
snout

msx legend
Berichten: 4987
Geplaatst: 14 Oktober 2003, 20:46   
FLASH ROM could be used for that as well (upgrading the BASIC)
wolf_
online

msx legend
Berichten: 4530
Geplaatst: 14 Oktober 2003, 20:48   
legacy, can you contact me on mvs@mvs-music.tmfweb.nl , I'm not always reachable by phone, esp. when I'm online
kuuno
msx lover
Berichten: 118
Geplaatst: 17 Mei 2004, 20:51   
What would be handy in a new MSX basic?
- Mouse support, place the cursor on one of the key setting, click on the mouse and action;
- A more notpad kinda environment, copy/past by using the mouse;
- Internal Assembler, Type you code and run by _runASM;
- KUNBasic kind of Basic, but a version that can accelerate all BASIC commands.
- Etc.

-Q
[D-Tail]

msx guru
Berichten: 2925
Geplaatst: 17 Mei 2004, 22:14   
deh?! You mean something like window$? That's the [u]LAST[/u] thing I would want in a MSX. I think the current BASIC is sufficient, if we talk about commands and functions. On the other hand, I'd like it to be more consistent. For example LOCATE X,Y,C and PRESET (X,Y). Note the parentheses. That way it'll be MUCH easier to use. Ow, and another thing, I think it should become NestorPreTer-native-like. So that is line labels instead of line numbers, and definable constants:
@DEFINE   TRUE    -1
@DEFINE   FALSE    0


~BLAAT:       IF (A=@TRUE)
              GOTO ~BLAAT


And now I'm having my monologue: a nice implementation of nested IF statements and 'block'-IF statements would do nicely as well:

IF A=B
(then) {
blah blah blah
} ELSE
IF A=C
(then) {
blaat!
}


And a nicer assignment/equation sign. So use '=' for assignments and '==' for equations, just like in C or something similar.
Tanni
msx addict
Berichten: 298
Geplaatst: 06 Juli 2005, 11:29   
Quote:

deh?! You mean something like window$? That's the [u]LAST[/u] thing I would want in a MSX. I think the current BASIC is sufficient, if we talk about commands and functions.


I agree!

Quote:

On the other hand, I'd like it to be more consistent. For example LOCATE X,Y,C and PRESET (X,Y). Note the parentheses. That way it'll be MUCH easier to use.


I don't really know if this is a question of consitence. One could see it like this. You also can consider
LOCATE as a function. Than with parentheses. Or as a command, then without them.

Quote:

And a nicer assignment/equation sign. So use '=' for assignments and '==' for equations, just like in C or something similar.


Then, it wouldn't be BASIC anymore! What isn't nice on '=' for equations? Thats the normal mathematical usage, very intuitional in BASIC, Pascal etc. If there's an problem at all, -- I don't think there is one -- then it's the '=' for assignements! The pascalien ':=' is much better. But even BASIC has a better solution, consider ''LET A = 3''. Thats original BASIC! The form ''A = 3'' is just an abbreviation.

Arjan
msx addict
Berichten: 440
Geplaatst: 06 Juli 2005, 12:00   
PRESET doesn't return a value, so it's not a function but a subroutine. Thus, parentheses shouldn't be necessary when calling PRESET.

What if you call a function, but you don't need the return-value. Should you call it with or without parenthesis? Should it actually be allowed to discard the return-value?

In my experience, using parentheses for functions and subroutines would make it a whole lot easier to program (at least in VB, curse the COM interaction! )

I'd also like to see a windowing system (I didn't add it to AdvancedBasic for nothing ). Would make it a lot easier to make editors with a GUI. Of course, you don't HAVE to use it...

AuroraMSX

msx master
Berichten: 1214
Geplaatst: 06 Juli 2005, 13:21   
Feature I'd like to see:

- Text-windowing
- Proper functions/procedures
- WHILE/DO, DO/UNTIL
- COPY using (X,Y,W,H) instead of (X1,Y1)-(X2,Y2). How often have I written code like
COPY(X,Y)-(X+W-1,Y+H-1) knowing that the interpreter would have to calculate the
W and H again from those expressions... Wasted CPU cycles!
- Oh, COPY in text mode!

10 SCREEN 0
20 WINDOW(10,10,70,20)
30 MYPROC("Hallo World!")
40 END
50 DEFPROC MYPROC(P$)
60 WHILE HELL <> FROZEN DO
70   PRINT P$;" ";  ' This of course only fills the window defined in line 20
80 ENDWHILE
90 ENDPROC



[edit]And long variable names, of course[/edit]
BodyHammeR
msx addict
Berichten: 484
Geplaatst: 06 Juli 2005, 13:30   
You mean like this: ?
 
Ga naar pagina ( 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 Volgende pagina )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.