This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - mapar007
Pages: 1 ... 9 10 [11] 12 13 ... 38
151
« on: June 29, 2010, 03:29:24 pm »
Yeah for Nostub the limit I think is 8100 bytes about including data. Silly TI
Actually that's not entirely correct. You can have approx. 8100 bytes of executed code, but your data can extend beyond that limit. As long as you don't execute across the 8100 line ($C000), you're fine, so reorganizing data sometimes pays off. (i.e. putting it all at the end of the program binary) EDIT for the nitpickers: This holds in the standard memory mapping. If you swap in an uneven-numbered RAM page in the $C000 bank, you'll be safe to execute code, but that's not really the best way to deal with the problem (cue OS freakout on every interrupt => CRASSHHHH) Offtopic edit: this semi-useful post is my #400. I'm still the staff member with the lowest postcount, though.
152
« on: June 29, 2010, 03:27:10 pm »
Urrrhm... Yes But also, I think it has some additional features (I don't remember where I read that). Still, it IS fun.
153
« on: June 29, 2010, 03:22:55 pm »
You can't use bcalls for text/sprites in an app. You have to write your own routines, or store all text in RAM. This is because, if you call cross-page, the pointer is messed up: it points to the same address, but on a different page. So basically, you can't access data in your app during a bcall. (or an external page call, in general) EDIT: if you want all the technical details about why this is, you can read up on wikiti.brandonw.net
154
« on: June 29, 2010, 03:19:43 pm »
I recently played through the Minish cap, but it definitely wasn't a 100% run.
I'd recommend the Link's Awakening DX. It rulez, even if you have already played it before.
155
« on: June 29, 2010, 03:15:20 pm »
I have 256 MB RAM and only 991.0 MHz clockspeed. I win. j/k ("Margin"-edit: I have to say I run a very outdated linux, so speed is not a concern. I haven't updated anything in some time. The computer is almost 10y old and not connected to the internet, so nothing fancy, but it also means I hardly need/want any bloatware like antivirus )
156
« on: June 29, 2010, 03:13:05 pm »
I tried this with spasm a while ago iirc, and it didn't make any difference.
157
« on: June 29, 2010, 10:47:52 am »
Sigma (or sgm) is Sean McLaughlin's nickname on UTI. He is the author of the 83pa28d tutorial I was referencing.
158
« on: June 29, 2010, 08:51:06 am »
I actually often say: 'my calculator is more powerful than my cell phone, except that it hasn't got calling & sms'ing' (my brother calls my cell phone a 'brick')
159
« on: June 29, 2010, 07:10:21 am »
Certificate is 16KB, like an app.
160
« on: June 29, 2010, 06:19:59 am »
Where you place the statement has no influence for its value, but it does for the values that follow it. It actually just resets the program counter to the given value in most assemblers.
In one of the first lessons of Assembly in 28 days this concept is explained. I am sure I can't do any better than sigma.
161
« on: June 29, 2010, 05:55:17 am »
It's worth a try, but it hasn't been done to my knowledge.
162
« on: June 29, 2010, 04:48:31 am »
I gave my two cents on cemetech System restore points will really be hard/not efficient in calcs...
163
« on: June 29, 2010, 04:44:21 am »
* mapar007 absolutely wants one race that is completely balanced Cool idea, but won't it be a PITA to implement? I can imagine that it requires a lot of really versatile code at the higher levels of your application... But of course I haven't read any of your source lately.
164
« on: June 29, 2010, 04:39:23 am »
No. Both copy to $9d95. We write .org $9d93 because of the .db $BB,$6D bytes, which should not be counted in. These are equivalent: .org $9d93 .db $bb,$6d blablabla
.db $bb,$6d .org $9d95 blablabla
And I don't quite get what you mean by shifting labels. If you mean inserting one byte so that all labels are shifted one position 'upwards', then yes.
165
« on: June 29, 2010, 02:40:26 am »
No, no. The program is copied, but the labels need the correct values, or otherwise the program goes havoc. Say I call label1 in 2 different situations: .org 0 ;just for clarity blablablabla call label1 blablabla label1: ;say this is the 250th byte of the program blabla ret
The code would resolve to call 250. Situation 2: .org $9d95 bla blablablabla call label1 blablabla label1: ;say this is the 250th byte of the program blabla ret
The call instruction would now become call 250+$9d95 (too lazy to convert the hex ), but it would still be at the same position relative to the beginning of the program. Is this clear enough? It's really much simpler in concept than it is in words... EDIT: seeing player's post: I'll summarize: The label resolution is always relative to the program origin. The absolute position therefore is the position relative to the origin+the value of the origin. (that's where .org stands for, btw)
Pages: 1 ... 9 10 [11] 12 13 ... 38
|