Re: basic usrdefs
Manuel Bilderbeek <[EMAIL PROTECTED]> schreef in nieuwsbericht <[EMAIL PROTECTED]>:ðÐÁ^ÀÐÁ^ÐÁ^pÐÁ^`ÐÁ^0ÐÁ^... > > > > Thanks for the next subject I'm gonna do for the next issue, Manuel. I could > > get pretty angry on the way you just "blabbed" about a new course :( > > > > Oh, sorry, I didn't realise it was THAT important to you that it would be a > surprise... :-( Anyway, I hope to release #2 soon anyway, so it is just a bit > earlier now... > No hard feelings. I'll remind myself of writing about this subject for the next part... GreeTz, BiFi MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
> > Thanks for the next subject I'm gonna do for the next issue, Manuel. I could > get pretty angry on the way you just "blabbed" about a new course :( > Oh, sorry, I didn't realise it was THAT important to you that it would be a surprise... :-( Anyway, I hope to release #2 soon anyway, so it is just a bit earlier now... Grtjs, Manuel ((m)ICQ UIN 41947405) PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/) PPS: Visit my home page at http://bilderbeek.cjb.net/ MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
ManuelBi writes: [about Q&A in the FAQ] >> write a nice article about it, or ask Bifi to make an article of it, >> as part of his new course on MCCW! (Oops, I'm telling you something >> about the next issue of MCCW!) and BiFi says: > Thanks for the next subject I'm gonna do for the next issue, Manuel. I could > get pretty angry on the way you just "blabbed" about a new course :( 1. Everyone knows that Manuel "babble"s a lot ;-) 2. I don't know why you're upset - he didn't reveal anything on the content, just on the fact (?) that there will be a course written by BiFi in the next issue of MCCW. No big deal. Eric MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
Thanks for the next subject I'm gonna do for the next issue, Manuel. I could get pretty angry on the way you just "blabbed" about a new course :( GreeTz, BiFi Manuel Bilderbeek <[EMAIL PROTECTED]> schreef in nieuwsbericht <[EMAIL PROTECTED]>:ðÐÁ^ÀÐÁ^ÐÁ^pÐÁ^`ÐÁ^0ÐÁ^... > > Maybe a nice thing for the FAQ? > > Is this a Frequently Asked Question then? > > If so: > write me a nice text in Q & A format and give me the category. > > If not: > write a nice article about it, or ask Bifi to make an article of it, as part > of his new course on MCCW! (Oops, I'm telling you something about the next > issue of MCCW!) > > > > Grtjs, Manuel ((m)ICQ UIN 41947405) > > PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/) > PPS: Visit my home page at http://bilderbeek.cjb.net/ > > > > > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] > and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in > the body (not the subject) of the message. > Problems? contact [EMAIL PROTECTED] > More information on MSX can be found in the following places: > The MSX faq: http://www.faq.msxnet.org/ > The MSX newsgroup: comp.sys.msx > The MSX IRC channel: #MSX on Undernet > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
You are mistaken. There is a system-variable VARTYP (&HF636) which needs to contain value 3 and DAC+2 (&HF7F8) needs to contain the pointer to the string descriptor. GreeTz, BiFi Maarten ter Huurne <[EMAIL PROTECTED]> schreef in nieuwsbericht <00050504392504.00422@starbug-3>:ðÐÁ^ÀÐÁ^ÐÁ^pÐÁ^`ÐÁ^0ÐÁ^... > On Fri, 05 May 2000, Floris 'Tamama' van Gog wrote: > > > I'm making a little program in basic. In it i need to call some > > assembler function i made that takes a string as arg, and returns _a > > different string_ > > How do you want 'usr' to return a string (any string)? > > As far as I know, 'usr' can use a string argument, but will always return > an integer. > > Bye, > Maarten > > > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] > and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in > the body (not the subject) of the message. > Problems? contact [EMAIL PROTECTED] > More information on MSX can be found in the following places: > The MSX faq: http://www.faq.msxnet.org/ > The MSX newsgroup: comp.sys.msx > The MSX IRC channel: #MSX on Undernet > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
At 10:56 AM 5/7/00 +0200, you wrote: >begin 644 Happy99.exe >M35I0``($``\`__\``+@`0``: (...) >M >* >` >end > Attachments into the MSX mailing list? And even worse... With a virus inside... =/ Keep your eyes open. Ricardo Jurczyk Pinheiro - ICQ UIN:3635907 - [EMAIL PROTECTED]|_Sola Scriptura | http://i.am/rjp -M.Sc. Numerical Modelling (hope so!) |_ Sola Gratia | UFF - Niteroi - RJ - Brazil - [EMAIL PROTECTED]_| Sola Fide | MSX, ST, B5, X-F, Anime, Christian, Maths, CuD, Linux!_| Solo Cristi | Christian, Rock, Comics, Transformers, and hate M$! | Soli Deo Gloria | MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
On Sun, 07 May 2000, Laurens Holst wrote: > > the Tech-docs say DE holds a pointer to a string descriptor > > this is true for the argument that is passed as arg. > > AFAIK only HL needs to be preserved when calling Assembly from Basic. When called assembly from BASIC using "defusr", always preserve IX and IY! HL does not have to be preserved. Bye, Maarten MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
> Thank you! There you go... It has been a pleasure. ~Grauw -- ><< email me: [EMAIL PROTECTED] or ICQ: 10196372 visit my homepage at http://grauw.blehq.org/ ><< MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
RE: basic usrdefs
Thank you! -Original Message- From: Laurens Holst [mailto:[EMAIL PROTECTED]] Sent: 07 May 2000 10:04 To: [EMAIL PROTECTED] Subject: Re: basic usrdefs MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
Laurens Holst I have no sure but I think that you got a virus... (happy99.exe) Best Regards Alex Mitsio Sato Laurens Holst wrote: > > Name: Happy99.exe >Happy99.exeType: unspecified type (application/octet-stream) > Encoding: x-uuencode > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
begin 644 Happy99.exe M35I0``($``\`__\``+@`0``: M``$``+H0``X?M`G-(;@!3,TAD)!4:&ES('!R;V=R M86T@;75S="!B92!R=6X@=6YD97(@5VEN,S(-"B0W M M M@U!%``!,`00`GR77C@`` MX`".@0L!`AD`"@```!8```$!`@```$`! M```"```!``,`"@`%```$`@``$```(``` M```0```0$``#`$`# M``0`:`$` M M0T]$10``$``!```*!@`` M(```8$1!5$$``!```@``$!```$```,`N M:61A=&$0``,```0@``!```#`+G)E;&]C M$``$```")```0```4``` M M M M M M M M M M M M M M M M M M M M:`!X``!J0.C6"```A<`/A!T&``!0O^L.0@"K!6!M``"K!<@```"K M6%!04%^XE*OHMP@``%Z#QA"M@_@`#X3L!0``OLD-0@!67[F5K/;0 MJN+Z:,@```#_->\.0@#HC0@``(7`#X2W!0``H_<.0@!HR/\U\PY"`&H` MZ%8(``"%P`^$F`4``(LU\PY"``/P@^X%K"3?/$%U"L<%B@]"`/^^(PY" M`(L][PY"``,]]PY"`+D)\Z1J`?\U[PY"`/\U\PY"`.CO!P``O@``0@"+ M/>L.0@"M/45.1"!T%3U:15)/=`7WT*O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@(HUL/0@#H60```,'H M"*-7#T(`Z$P```#!Z`@-#P^O`(O8Z#T```#!Z`^)!XE/!-M'!-G^V@_;1P39 M_]H/VQ_;7P2#QPBA5P]"`*NA6P]"`*N+PZN#QPSBR?\%3P]"`.EW_O__N!-` M(0#W+5\/0@`KT@41$%,"HU\/0@##_R5D`$,`_R5H`$,`_R5L`$,`_R5P`$,` M_R5T`$,`_R5X`$,`_R5\`$,`_R6``$,`_R6$`$,`_R6(`$,`_R6,`$,`_R60 M`$,`_
Re: basic usrdefs
> I figured it 'all' out :-) > > the Tech-docs say DE holds a pointer to a string descriptor > this is true for the argument that is passed as arg. AFAIK only HL needs to be preserved when calling Assembly from Basic. > Maybe a nice thing for the FAQ? I think it's out of the FAQ's scope... ~Grauw -- ><< email me: [EMAIL PROTECTED] or ICQ: 10196372 visit my homepage at http://grauw.blehq.org/ ><< MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
> Maybe a nice thing for the FAQ? Is this a Frequently Asked Question then? If so: write me a nice text in Q & A format and give me the category. If not: write a nice article about it, or ask Bifi to make an article of it, as part of his new course on MCCW! (Oops, I'm telling you something about the next issue of MCCW!) Grtjs, Manuel ((m)ICQ UIN 41947405) PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/) PPS: Visit my home page at http://bilderbeek.cjb.net/ MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
I figured it 'all' out :-) the Tech-docs say DE holds a pointer to a string descriptor this is true for the argument that is passed as arg. However, for returning a string you do not only have to set DE to the new string descriptor, but also the 2byte location 0F7F8h (DAC). And i'm not even sure if DE is being used, but just to be safe :-) Changing the original descriptor i have not tried but i imagine it can do damage (leaks?). This i already tried before but... i did an increase to many.. the routine was supposed to convert strings like "A" to "rA"... "rA" + 1 = "A".. DOH! :-) anyway, an example -- descriptor: db 0,0,0 basic_callable_function: cp A,3 ret nz ;; not a string as arg ;; do stuff, maybe even change the 'descriptor' for returning ;; some other string besides a "" string LD DE,descriptor LD [0F7F8h],DE LD A,3 ret This will return a string with length 0. Upon return the string is copied! into the return string, which has it's own descriptor. Maybe a nice thing for the FAQ? Floris [EMAIL PROTECTED] wrote: > > Maarten ter Huurne wrote: > > > As far as I know, 'usr' can use a string argument, > > but will always return an integer. > > Incorrect - see below... > > Floris wrote: > > > no, > > > > a usrdef can return a string. In fact, when you give a string as > > argument, you get type-errors if you return a non-string (well on my > > 8235 anyway). > > True. IIRC, at entry of the USR routine, register A holds > the type of the argument and the system variable DAC holds the actual > value or the string descriptor. At the exit of the USR routine, > DAC has to contain the return value (or string descriptor) and > register A the return type. This is actually very fancy: you can > use *one* USR routine which can return different results and result > types depending on the value and/or type of the argument. > > Eric > MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
On Fri, 05 May 2000, [EMAIL PROTECTED] wrote: > > As far as I know, 'usr' can use a string argument, > > but will always return an integer. > > Incorrect - see below... I've been programming this machine for ages, and I still learn new things. :) > This is actually very fancy: you can > use *one* USR routine which can return different results and result > types depending on the value and/or type of the argument. Overloading in MSX-BASIC! Who needs C++? ;) Bye, Maarten MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
Maarten ter Huurne wrote: > As far as I know, 'usr' can use a string argument, > but will always return an integer. Incorrect - see below... Floris wrote: > no, > > a usrdef can return a string. In fact, when you give a string as > argument, you get type-errors if you return a non-string (well on my > 8235 anyway). True. IIRC, at entry of the USR routine, register A holds the type of the argument and the system variable DAC holds the actual value or the string descriptor. At the exit of the USR routine, DAC has to contain the return value (or string descriptor) and register A the return type. This is actually very fancy: you can use *one* USR routine which can return different results and result types depending on the value and/or type of the argument. Eric MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
no, a usrdef can return a string. In fact, when you give a string as argument, you get type-errors if you return a non-string (well on my 8235 anyway). Maybe i'm just doing something wrong but i havent figured out yet what it is. I've the msx2 technical handbook here from ASCII, but it's very brief on usrdefs.. It's pretty brief on anything actually :) The MSX1 Technical handbooks from Sony and Mickeysoft arent any better :/ Floris Maarten ter Huurne wrote: > > On Fri, 05 May 2000, Floris 'Tamama' van Gog wrote: > > > I'm making a little program in basic. In it i need to call some > > assembler function i made that takes a string as arg, and returns _a > > different string_ > > How do you want 'usr' to return a string (any string)? > > As far as I know, 'usr' can use a string argument, but will always return > an integer. > > Bye, > Maarten MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
Re: basic usrdefs
On Fri, 05 May 2000, Floris 'Tamama' van Gog wrote: > I'm making a little program in basic. In it i need to call some > assembler function i made that takes a string as arg, and returns _a > different string_ How do you want 'usr' to return a string (any string)? As far as I know, 'usr' can use a string argument, but will always return an integer. Bye, Maarten MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet
basic usrdefs
hi, I'm making a little program in basic. In it i need to call some assembler function i made that takes a string as arg, and returns _a different string_ The assembler part does not change the arg-string data, but it changes it's descriptor (3 bytes{len:offset}). The data i dont change because i dont know if the string would fit. Right now i have changed DE and that what DE pointed at (the string) but i always get the same string back. What is going on here? what are the undocumented or other wise strange behaviours with using 'usr'? (one is for example that argument and return value should be of the same type) Floris MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet