A86: Re: Assembly-86 Digest V1 #936
[Prev][Next][Index][Thread]
A86: Re: Assembly-86 Digest V1 #936
At 00:00 16/06/99 +0200, Assembly-86 Digest wrote:
>
>Assembly-86 Digest Wednesday, June 16 1999 Volume 01 : Number 936
>
>
>
>Index of topics in this issue:
>
> A86: Input of a string
> Re: A86: Input of a string
> A86: [OT] can the mac open .txt files
> A86: C compiler
> Re: A86: [OT] can the mac open .txt files
> Re: A86: [OT] can the mac open .txt files
> Re: A86: [OT] can the mac open .txt files
> Re: A86: [OT] can the mac open .txt files
> [OT] Re: A86: C compiler
> Re: [OT] Re: A86: C compiler
>
>See the end of the mail for information about the list!
>
>----------------------------------------------------------------------
>
>Date: Mon, 14 Jun 1999 18:33:29 EDT
>From: Jeanne9005@aol.com
>Subject: A86: Input of a string
>
>Does inputting a string work the same as inputting a number? If so, how
do I
>set the maximum number of characters to input? If not, how do I set it up?
>Also, where will it end up, OP's or registers?
>
>Glen
>
>------------------------------
>
>Date: Mon, 14 Jun 1999 18:41:10 EDT
>From: ComAsYuAre@aol.com
>Subject: Re: A86: Input of a string
>
>this is a routine (taken from the diamonds level editor) which will return
>with hl pointing to the start of the string. when you call it, point hl to
>the prompt string.
>
>input_str:
> xor a
> ld (_ioPrompt),a ;clear io prompt
> ld a,$0c
> ld (_ASAP_IND),a ;set for string input
> push hl
> call _clrWindow
> pop hl
> call _puts ;display prompt
> call _newline
> set shiftAlpha,(iy+shiftflags)
> set shiftALock,(iy+shiftflags) ;alpha lock
> call _exec_pg3
> call _runindicoff
> res shiftAlpha,(iy+shiftflags)
> res shiftALock,(iy+shiftflags)
> ld a,b
> ex de,hl
> rst 10h ;_findsym
> ld a,b
> ex de,hl
> jp _load_ram_ahl ;hl->string, and return
>
>
>note that the returned string has the size bytes (2 bytes) in front of it.
>so if you want to input a string with a max size, do something like this:
>
>get_string:
> ld hl,prompt
> call input_str
> ld a,(hl)
> cp 51 ;50 chars max
> jr nc,get_string
> inc hl
> ld a,(hl)
> or a
> jr nz,get_string ;anything other than 0 in upper size
>byte
> inc hl
>;hl now points to first byte in string
>
>
>
>
>In a message dated 6/14/99 18:34:11 Eastern Daylight Time,
Jeanne9005@aol.com
>writes:
>
>> Does inputting a string work the same as inputting a number? If so, how
do
>I
>> set the maximum number of characters to input? If not, how do I set it
>up?
>> Also, where will it end up, OP's or registers?
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 15:59:13 EDT
>From: McBorder@aol.com
>Subject: A86: [OT] can the mac open .txt files
>
>im working on a report for school and i need to get some quotes from a book.
>i couldnt take it out of my school library because this is the last week of
>school.
>so im thinking that i will type up most of the report tonight then email it
>to my hotmail account then i can donwload it and add the quote in school
>the only comps in school are macs so can the mac handle a *.doc file or will
>i be better of saving it as a *.txt file???
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 16:02:33 -0400
>From: Damon Hopkins <mdhopkin@unity.ncsu.edu>
>Subject: A86: C compiler
>
>other than small c is there another c compiler for the 85 or 86?
>preferably I need to do floating point calculations and would really be
>interested in multidimensional arrays and structures..
>
> Thanks,
>
> Damon Hopkins
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 13:03:23 -0700
>From: Jeffrey Malone <ieatlint@home.com>
>Subject: Re: A86: [OT] can the mac open .txt files
>
>probably a txt, but then again, why atach anything at all? just paste
>the text into an email....
>
>McBorder@aol.com wrote:
>>
>> im working on a report for school and i need to get some quotes from a
book.
>> i couldnt take it out of my school library because this is the last week of
>> school.
>> so im thinking that i will type up most of the report tonight then email it
>> to my hotmail account then i can donwload it and add the quote in school
>> the only comps in school are macs so can the mac handle a *.doc file or
will
>> i be better of saving it as a *.txt file???
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 16:03:44 -0400
>From: Damon Hopkins <mdhopkin@unity.ncsu.edu>
>Subject: Re: A86: [OT] can the mac open .txt files
>
>McBorder@aol.com wrote:
>>
>> im working on a report for school and i need to get some quotes from a
book.
>> i couldnt take it out of my school library because this is the last week of
>> school.
>> so im thinking that i will type up most of the report tonight then email it
>> to my hotmail account then i can donwload it and add the quote in school
>> the only comps in school are macs so can the mac handle a *.doc file or
will
>> i be better of saving it as a *.txt file???
>
>I'd save it as a txt to be safe but if they have word on there more than
>likely it will be fine.
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 13:12:45 PDT
>From: Cavan Carroll <cavanc@hotmail.com>
>Subject: Re: A86: [OT] can the mac open .txt files
>
>It depends on what the MAC has on it.
>I had the same problem, but luckily a couple of them had MS Word on them.
>Since you probably don't know, you should save it as a rich text file.
>MAC's and PC's can "understand" it :-)
>
>
>
>
>
>
>
>
> suck it
> world's biggest idiot
> Cavan Carrol
>
>
>_______________________________________________________________
>Get Free Email and Do More On The Web. Visit http://www.msn.com
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 13:15:07 PDT
>From: Cavan Carroll <cavanc@hotmail.com>
>Subject: Re: A86: [OT] can the mac open .txt files
>
>If you save it as text then the formatting will be lost.
>All you'll have left is one really long string of text :-(
>
>
>
>
>
>
>
> suck it
> world's biggest idiot
> Cavan Carrol
>
>
>_______________________________________________________________
>Get Free Email and Do More On The Web. Visit http://www.msn.com
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 21:18:18 +0100
>From: Nuno Sao Joao <nmasj@camoes.rnl.ist.utl.pt>
>Subject: [OT] Re: A86: C compiler
>
>Damon Hopkins wrote:
>>
>> other than small c is there another c compiler for the 85 or 86?
>> preferably I need to do floating point calculations and would really be
>> interested in multidimensional arrays and structures..
>
> There's at least TCC and TISCO, but I think none of them
> works directly with floating point...
>
> NSJ
>
>------------------------------
>
>Date: Tue, 15 Jun 1999 13:26:03 PDT
>From: J D <starkruzr@hotmail.com>
>Subject: Re: [OT] Re: A86: C compiler
>
>I think we talked about these way back when someone suggested a C++ compiler
>for the 86. What are they and how are they different from Small C?
>Anybody? Oh, yes, and a matter of curiosity - aren't those compilers
>designed to work generically with the z80? How is it, then, that we can use
>them to do things with the 86's video, etc?
>
>
>>From: Nuno Sao Joao <nmasj@camoes.rnl.ist.utl.pt>
>>Reply-To: assembly-86@lists.ticalc.org
>>To: assembly-86@lists.ticalc.org
>>Subject: [OT] Re: A86: C compiler
>>Date: Tue, 15 Jun 1999 21:18:18 +0100
>>
>>
>>
>>Damon Hopkins wrote:
>> >
>> > other than small c is there another c compiler for the 85 or 86?
>> > preferably I need to do floating point calculations and would really be
>> > interested in multidimensional arrays and structures..
>>
>> There's at least TCC and TISCO, but I think none of them
>> works directly with floating point...
>>
>> NSJ
>>
>
>
>_______________________________________________________________
>Get Free Email and Do More On The Web. Visit http://www.msn.com
>
>------------------------------
>
>End of Assembly-86 Digest V1 #936
>*********************************
>
>---------
>To unsubscribe from assembly-86-digest, send a mail to
"majordomo@lists.ticalc.org",
>writing "unsubscribe assembly-86-digest" in the message body.
>wibble
References: