basic loader (Development Foros MSX)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!           
                       
English Nederlands Español Português Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 88 invitados y 2 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - basic loader

Ir a la página ( Página anterior 1 | 2 | 3 | 4 Siguiente página )
Autor

basic loader

NYYRIKKI
msx master
Mensajes: 1509
Publicado: Septiembre 26 2005, 19:36   

When using call to #24 A-register should have SlotID of Slot we want to change (in this example first time SlotID of RAM and second time SlotID of BASIC) and HL register should point to any byte inside the area we want to change (In this case #4000-#7FFF)


norakomi
msx professional
Mensajes: 861
Publicado: Septiembre 26 2005, 21:31   
Quote:

Quote:

2) why is: DB #FE
DW BEGIN
DW END
DW BEGIN
this piece of code used ?>?>?

Because you want to compile a BIN-file which can be loaded from Basic.

ok,
but I didnt use this....
(I thought maybe you use this only in a dos-environment>???)
Latok
msx master
Mensajes: 1727
Publicado: Septiembre 26 2005, 22:05   
In a DOS environment, programs begin at #100 and the bios isn't directly accessible. Only through interslot calls.
ro
msx guru
Mensajes: 2329
Publicado: Septiembre 27 2005, 13:35   
only needed in BASIC norakomi. Dos has just DATA files (no header) which will be loaded at #100, like Latok said.
You CAN skip the header in Basic, but you'll 'ave to manually load the data yourself (no BLOAD function) with #open etc. hell of'a work. just stick with the "header" and you'll do fine.
Sonic_aka_T

msx guru
Mensajes: 2268
Publicado: Septiembre 27 2005, 14:07   
Quote:

Quote:

Quote:

2) why is: DB #FE
DW BEGIN
DW END
DW BEGIN
this piece of code used ?>?>?

Because you want to compile a BIN-file which can be loaded from Basic.

ok,
but I didnt use this....
(I thought maybe you use this only in a dos-environment>???)

You don't need it in WB-ASS2 norakomi. These people just aren't paying attention. (as usual ) Just use the BSAVE command in WB and you'll be fine. Like I said tho, make sure you specify the correct addresses.
NYYRIKKI
msx master
Mensajes: 1509
Publicado: Septiembre 27 2005, 14:56   

Yes, I don't know about WBASS, but BSAVE does the 7 byte header for you.

BiFi
msx guru
Mensajes: 3142
Publicado: Septiembre 27 2005, 16:02   
so does WB-ASS2
AuroraMSX

msx master
Mensajes: 1248
Publicado: Septiembre 27 2005, 16:28   
Quote:

So does WB-ASS2


Doesn't WB-ASS2 mean something like "Will Bite yer ASS , 2" ? I hate assemblers that add code and/or data where they shouldn't. It might be useful for starting programmers, but -- as we just witnessed -- will eventually confuse the crap out of them. And to me, WB-Ass seems top of the bill in this league...

Really, Norakomi, start thinking about using an other assembler...

Please
BiFi
msx guru
Mensajes: 3142
Publicado: Septiembre 27 2005, 17:02   
WB-ASS2 has both a BSAVE/BLOAD (7-byte header) and DSAVE/DLOAD (raw data).
norakomi
msx professional
Mensajes: 861
Publicado: Septiembre 27 2005, 18:06   
Quote:

Quote:

So does WB-ASS2


Doesn't WB-ASS2 mean something like "Will Bite yer ASS , 2" ? I hate assemblers that add code and/or data where they shouldn't. It might be useful for starting programmers, but -- as we just witnessed -- will eventually confuse the crap out of them. And to me, WB-Ass seems top of the bill in this league...

Really, Norakomi, start thinking about using an other assembler...

Please

I dont know if you will attend the Bussum fair saturday??? (will you???).
But, ok, we'll show our work there, and hopefully you'll see that with WBASS anything is possible !!!
It's like playing an old guitar (I'm a guitarist btw).
You get used to the sound and the wood, and the color and the scent,
and you learn to play it better and better every day !
After months of daily practice you start noticing that you can play miracles with this old dusty piece of wood.
Ehhm, stupid example....
anyway.
I agree, WBASS IS NOT A SUPERIDEAL assembler, but it's light has not stopped shining for me.
I'm discovering the ups and downs, the workarounds... and when I master it, OR really need another
assembler, Then I will switch.....

Really,
I love to work with the Bios,
and the only problem I have with WBASS is that its programs/files cannot exceed 4kb (which is really small).
But I just have a whole big bunch of small files....
(almost as if each routine has a different file haha)
Still there is always a good thing about small files.

Yeah, but I talked a lot about going to another assembler, (and to be honest, I hope that someone could assist me in person, (maybe at the bussum fair-> volunteers???) with a cross assembler.....
like, I'd like to sit behind a computer together with someone who is used to a cross assembler, and then this person can teach me how to do it.... because like said before, I tried a bit with other assemblers (also cross assemblers), but I just didnt succeed that well in handling it).

so, maybe after next saturday I can put my old guitar in the closet and grab a fresh one !!!
Sonic_aka_T

msx guru
Mensajes: 2268
Publicado: Septiembre 27 2005, 20:51   
Quote:

Quote:

So does WB-ASS2


Doesn't WB-ASS2 mean something like "Will Bite yer ASS , 2" ? I hate assemblers that add code and/or data where they shouldn't. It might be useful for starting programmers, but -- as we just witnessed -- will eventually confuse the crap out of them. And to me, WB-Ass seems top of the bill in this league...

It doesn't add anything at all. It just has a BSAVE command, what's wrong with that?!?
AuroraMSX

msx master
Mensajes: 1248
Publicado: Septiembre 28 2005, 11:10   
Quote:

I dont know if you will attend the Bussum fair saturday??? (will you???).


I will, no worries

Quote:

Yeah, but I talked a lot about going to another assembler, (and to be honest, I hope that someone could assist me in person, (maybe at the bussum fair-> volunteers???) with a cross assembler.....


No prob. I'm no ML wizard, but I surely can help you set up sjasm or pasmo.
Time to put the Hohner aside and start playing the Ibanez
ro
msx guru
Mensajes: 2329
Publicado: Septiembre 28 2005, 11:15   
Indeed, BSAVE in WBASS2 is just as in BASIC. It will save a BINAIRY file (which MUST include that 7 byte header)
otherwise use de DSAVE (data save) which will do only that.. saving data.
Aurora, whaz yer prob? I can't even name one asm that will add xtra data @ files. name one pls or be silent for effah.
harf harf. no serious.

ps. WBmyASS = Willem Brendsen Assembler, just so u know. He was a good fellow, a nerd maybe, but a good nerd (atleast he made my live better by releasing that FAB asm/dis/mon/editor thingy! man!)
norakomi
msx professional
Mensajes: 861
Publicado: Septiembre 28 2005, 12:13   
Quote:

Time to put the Hohner aside and start playing the Ibanez

hahaha,
Hohner !!!!! hahahaha !!!
ro
msx guru
Mensajes: 2329
Publicado: Septiembre 28 2005, 14:59   
stupid asian guitars.. bleh.
long life gibson and ibanez indeed!
 
Ir a la página ( Página anterior 1 | 2 | 3 | 4 Siguiente página )
 







(c) 1994 - 2008 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation