A83: Re: Assembly-83 Digest V1 #842


[Prev][Next][Index][Thread]

A83: Re: Assembly-83 Digest V1 #842




See below


> But I still
> don't know how to do a lot of things. How would I go about setting 
> this up?
> Should I store the deck in an actual list/matrix? If so how do I 
> switch using
> ASM?

You definitely shouldn't use TI-OS variables for this.  There is an
assembler directive (I cant rmember which one) that defines a certain
number of bytes in one command.  You would want to use that.

.dd  52 'Its something with .dX where X is another letter, not b or w

> If not how do I switch using ASM? Also, program writeback, I 
> NEED this in my
> program, but I can't seem to figure it out. I don't like using 


Program writeback is something that happens automaticaly  For example:

Myprog:
	ld a,5
	ld (Data1),a
	ret

Data1: .db  0

Next time you run the program, Data1 will be 5


> shells even though
> they often have automatic program writeback as a standard feature. 
> Also if anyone
> out there really wants to se this dream become a reality, I am 
> definitely looking
> for hints to decrease file size.

There are a lot of optimization hints at http://www.usmo.com/~joewing,
Joe W's page
A couple of things are replace your ld a,0's with xor a's nd other space
savers

> I do plan on squishing Casino, but 
> it's still
> going to be huge. I am avoiding the use of background images where I 
> can (ie only
> for the slot machine that really does need it).

You might consider using 1 common background image for all the card
tables, or instead of using bitmaps, draw your UI with ILine's and
IPoint's and things like that


By the way, welcome back James.  Its been a while since I've done
anything on this list either since my 83 got stolen.  Now I'm trying to
learn God-awful 68K which makes Z80 look like BASIC.  Congradulations on
TI adopting your tutorial

-Alan

> 
> 
> - --
> "What, behind the rabbit?"-King Arthur
> The Heat Index   Nathang@firstva.com
>       http://users.firstva.com/Nathang
>  (\\_
> o(_;
> 


     Webpage- http://www.bigfoot.com/~mastermind5
     Get paid to surf the web-
           http://www.alladvantage.com/go.asp?refid=cww952
           http://www.gotoworld.com/getpaid/default.asp?rid=1028769125
           http://www.epipo.com/signup_form.asp?mastermind5

___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.


Follow-Ups: