basic loader (Development MSX Fora)MSX Resource Center PassionMSX MSX2 contest           
            
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 39 gasten en 3 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - basic loader

Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 Volgende pagina )
Schrijver

basic loader

NYYRIKKI
msx master
Berichten: 1509
Geplaatst: 26 September 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
Berichten: 861
Geplaatst: 26 September 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
Berichten: 1727
Geplaatst: 26 September 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
Berichten: 2329
Geplaatst: 27 September 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
Berichten: 2268
Geplaatst: 27 September 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
Berichten: 1509
Geplaatst: 27 September 2005, 14:56   

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

BiFi
msx guru
Berichten: 3142
Geplaatst: 27 September 2005, 16:02   
so does WB-ASS2
AuroraMSX

msx master
Berichten: 1248
Geplaatst: 27 September 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
Berichten: 3142
Geplaatst: 27 September 2005, 17:02   
WB-ASS2 has both a BSAVE/BLOAD (7-byte header) and DSAVE/DLOAD (raw data).
norakomi
msx professional
Berichten: 861
Geplaatst: 27 September 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
Berichten: 2268
Geplaatst: 27 September 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
Berichten: 1248
Geplaatst: 28 September 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
Berichten: 2329
Geplaatst: 28 September 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
Berichten: 861
Geplaatst: 28 September 2005, 12:13   
Quote:

Time to put the Hohner aside and start playing the Ibanez

hahaha,
Hohner !!!!! hahahaha !!!
ro
msx guru
Berichten: 2329
Geplaatst: 28 September 2005, 14:59   
stupid asian guitars.. bleh.
long life gibson and ibanez indeed!
 
Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 Volgende pagina )
 







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