MSX-BASIC editor for Windows released

Page 1/6
| 2 | 3 | 4 | 5 | 6

By N.I

Master (166)

N.I's picture

19-12-2015, 05:41

I released Tabmegx. It is MSX-BASIC editor for Windows.
Tabmegx can execute the following source.

screen1:color15,0,0:keyoff
*loop1
s=stick(0)
if s=1 then begin
 dx=rand(32):dy=rand(32)
 vpoke 6144+dx+dy*32,rand(256)
endif else begin
 locate 0,0:print "press up key."
endif
goto *loop1

It automatically creates the disk image file, and run it in blueMSX for MSX emulator.

- Features
Supported goto by label, begin endif, switch
Unavailable line numbers
Suitable for Windows tablet
Sprite editor
Character editor

- Download
http://ni.x0.com/msx/tabmegx/

- Introduction movie
https://youtu.be/zVCMEZjGHZo

Login or register to post comments

By ARTRAG

Enlighted (6280)

ARTRAG's picture

19-12-2015, 06:11

Looks a nice tool, greetings!
Do you plan to add also an msx basic compiler?

By st1mpy

Champion (498)

st1mpy's picture

19-12-2015, 09:37

which tablet is that? and does it run win 8.1 or 10?

By Wild_Penguin

Hero (555)

Wild_Penguin's picture

19-12-2015, 10:40

Hi N.I and welcome!

I tested it quickly on wine and it works perfectly, it seems (including sprite editor)!

Do you plan on adding support for using another emulator (or perhaps any executable / custom sript / batch file) for running the generated disk image? That way it would be more usefull for those who use openMSX - and even those on different platforms than Windows Smile.

Of course it is still very usable, just a little bit more manual work (but only since the "run" button is not usable OOTB).

EDIT:I noticed I have some .bas files that I can not load in it (they were originally made on an MSX and just copied of the disk). Should they work? I can not load asc files, either.... I don't want to sound demanding, it is an excellent piece of software for those who like to tinker with BASIC!

By N.I

Master (166)

N.I's picture

19-12-2015, 12:55

Thanks for your response Smile.

ARTRAG wrote:

Do you plan to add also an msx basic compiler?

I do not plan it. But it sounds interesting. Basic might be converted to language C.

st1mpy wrote:

which tablet is that? and does it run win 8.1 or 10?

The tablet is OEM of momo7w. It runs win 8.1. It is very cheap. But it is very useful to develop something.

Wild_Penguin wrote:

Do you plan on adding support for using another emulator (or perhaps any executable / custom sript / batch file) for running the generated disk image? That way it would be more usefull for those who use openMSX - and even those on different platforms than Windows Smile.

Custom script is a good idea. I will consider it. Since I did not know openMSX, I will try it.

Wild_Penguin wrote:

I noticed I have some .bas files that I can not load in it (they were originally made on an MSX and just copied of the disk). Should they work? I can not load asc files, either.

Tabmegx can not run .bas files that contains line numbers. Therefore, it can not run the original bas files.

By Louthrax

Prophet (2093)

Louthrax's picture

19-12-2015, 13:01

Hi N.I.,
That looks great, thanks for that tool !

By N.I

Master (166)

N.I's picture

09-01-2016, 06:55

I have released Tabmegx ver 1.01.

- New features
Support for openMSX
Support for ccz80

TabMegx can run programs in blueMSX or openMSX. It uses a diskimage file or DirAsDisk in openMSX.
ccz80 is the C compiler for Z80 processors. Tabmegx can run the following source in MSX emulator by pressing "RUN" button.

include "mymsx.ccz80";
//--------------------
array byte spptn={#0C,#1E,#3E,#37,#FF,#FF,#3F,#3F,#3F,#3F,#3F,#1F,#1F,#07,#01,#15,
 #00,#00,#00,#07,#1F,#BC,#FC,#FC,#F8,#F8,#F8,#FC,#FC,#FC,#00,#00};
array byte spcol={#09,#09,#0A,#0A,#0A,#0A,#0A,#0A,#0A,#0A,#0A,#0A,#0A,#0A,#09,#09};
array byte chptn={#E7,#C3,#FF,#C3,#C3,#C3,#91,#99, #FF,#FF,#FF,#E7,#E7,#FF,#FF,#FF};
array byte chcol={#0A,#0A,#AA,#02,#02,#0A,#0A,#0A, #00,#00,#00,#0D,#0D,#00,#00,#00};
array byte fonts[#800];
byte x=128,y=64,s; word v,i;
define ch=128,chnum=2;
//--------------------
screen(1);ldirmv(0,fonts,#800);
// sprite setting (16x16)
asm{"_RG1SAV: equ #F3E0","ld a,(_RG1SAV)","and #fc","or #2","ld (_RG1SAV),a"}
color(15,4,4);screen(4);cls();
// sprite init
ldirvm(spptn,#3800,32);ldirvm(spcol,#1c00,32);
// fonts init
ldirvm(fonts,#0,#800);ldirvm(fonts,#800,#800);ldirvm(fonts,#1000,#800);
filvrm(#2000,#f0,#1800);
// character init
v=ch;
ldirvm(chptn,v*8,8*chnum);ldirvm(chptn,#800+v*8,8*chnum);ldirvm(chptn,#1000+v*8,8*chnum);
ldirvm(chcol,#2000+v*8,8*chnum);ldirvm(chcol,#2800+v*8,8*chnum);ldirvm(chcol,#3000+v*8,8*chnum);
//--------------------
main:
sound(7,172);sound(8,15);for(i=0;i<255;i++){sound(0,i);}
// draw
vpoke(6144+rand()%(32*24),32);
if(rand()%10==0){vpoke(6144+rand()%(32*24),ch+(rand()&1));}
// move
s=stick(0);
if(s==3)x+=8;else if(s==7)x-=8; if(s==1)y-=8;else if(s==5)y+=8;
putsprite(0,x,y,0,0);
//
print(2,1,"<>  [ESC]=QUIT");
if((getkey(7)&4)==0){kilbuf();return;}
goto main;

- Download
http://ni.x0.com/msx/tabmegx/

And, I made a neat sample game "Bubbo World" with ccz80. :D
https://youtu.be/zQUIo86riJ4

By Manuel

Ascended (15829)

Manuel's picture

09-01-2016, 14:13

So, it supports C now?

By Grauw

Ascended (8515)

Grauw's picture

09-01-2016, 14:15

That game looks nice, you should consider submitting it for the MSXDev compo!

By N.I

Master (166)

N.I's picture

10-01-2016, 01:38

Manuel wrote:

So, it supports C now?

Yes, it can execute a program of BASIC or C.

Grauw wrote:

That game looks nice, you should consider submitting it for the MSXDev compo!

Thanks for letting me know. I will consider it. Smile2

By N.I

Master (166)

N.I's picture

23-07-2016, 02:00

I have just released Tabmegx version 1.02.

New features
- Animation(Sprites, Characters)
- Screen editor
- Enabled line numbers for the original BASIC source

example Big smile

Download
http://ni.x0.com/msx/tabmegx/

Introduction to new features
https://youtu.be/nMWW3mc1n7s

Page 1/6
| 2 | 3 | 4 | 5 | 6