Show Posts

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 ... 10 11 [12] 13 14 ... 38
166
The ORG number isn't stored anywhere :) Let me explain:

The calculator ALWAYS copies programs to $9d95, no matter what the program is. The org number is just a way for the assembler to resolve labels. The assembler always knows the 'distance in bytes' from a label to the beginning of the program, then it adds the .org number, and you get the actual address in memory. This org number must obviously be $9d95, because that is where the program is run.

On other platforms, you would have other org numbers, etc. Even within 84+ asm coding there are differences: an application has the ORG number $4000. (it doesn't even start executing there, but w/ever)

If you want to experiment, try the following:

- Get SPASM
- Have it compile a simple program, and use the -T option to make it dump a code listing (.lst file)
- Back up the .lst
- Remove the .org from the original .z80 file, and recompile, again with -T
- Compare this listing with the old, back-up listing and look at the addresses in front of each line.

EDIT: Odamn player you ninja'd me

167
Miscellaneous / Re: Birthday
« on: June 28, 2010, 03:35:32 pm »
Have a very nice birthday, Sir!

168
Gaming Discussion / Re: Oracle of Ages / Seasons confusion
« on: June 28, 2010, 03:34:24 pm »
I've only ever played them separately... (emulated :D )

I believe the secret system allows, among other things, access to the master sword. There exist secrets for getting all rings etc. ( != cheatcodes) But I don't have the details you asked for, sorry :s

169
TI Z80 / Re: The Legend of Zelda
« on: June 28, 2010, 03:15:48 pm »
I'd like to do the (ASM grayscale) coding for you, Zera, but I very probably won't have much time to spare this summer.

(+ my required 'knowledge update' on 4-level grayscale. I know how it works, but I've never implemented it, so speed-wise I'd run into trouble after a while)

170
TI Z80 / Re: Rogue Z80
« on: June 28, 2010, 03:09:43 pm »
Inventory code implemented and WORKING! Huzzah! You can now pick up items, and view the inventory. Your screenshot should be arriving shortly*.


Read: as soon as I think of recording one and putting it on my flash drive.


EDIT: Damn, I'd have sworn that I made another post about the sound yesterday, but it magically disappeared. (or I forgot to click 'post', pick either :p)

So, anyway, to spare my flash chip I'll implement the sound at the end. Wabbitemu is being stubborn, so I can't emulate the sound for now. Hence, once everything is done, I might do some background music, but I don't want to go through the trouble just yet. (transferring these apps back and forth is probably no good for the lifetime of my flash chip, and I don't care whether the 100000 writes/byte is an urban legend :P )

171
Humour and Jokes / Re: 6666th post of the month!
« on: June 28, 2010, 06:50:23 am »
It's funny if new members post in randomness and their postcount doesn't increase :P

172
ASM / Re: WARNING! usb8x crossing
« on: June 28, 2010, 05:05:52 am »
msd8x is just an interface to the MSD driver in usb8x. The MSD driver is only in usb8x. There was a time when the driver was in msd8x itself, but it has since been shifted and integrated into usb8x itself.

So msd8x is just the interface (and it uses the extra RAM pages, which is why it doesn't work on newer 84+/SEs -- the MSD driver itself still works on those models).

Thanks for reminding me, seems I was wrong :)

173
Axe / Re: The case of the decreasing RAM
« on: June 28, 2010, 05:04:00 am »
Just to remind everyone: pulling a battery during a normal OS _GetKey loop (like the homescreen, and maybe the PTT screen, I don't know for sure) will NOT cause your RAM to clear.

The RAM clear isn't caused by pulling the battery, the OS merely does it because the RAM checksum doesn't match the actual memory content.
So if you want good pw protection, use _GetKey, and not _GetCSC or direct input, and make sure the OS interrupt runs. (Krolypto does this, btw)


EDIT: I'm posting this because I inferred certain fallacies from previous posts, so don't blast me :)

174
Miscellaneous / Re: SirCmpwn not(C parents blocked Omnimaga again
« on: June 28, 2010, 04:57:23 am »
(I actually didn't know whether it existed in English at all, but...)

It's basically an expression for the premium you get when you are fired by your employer.

175
Miscellaneous / Re: SirCmpwn not(C parents blocked Omnimaga again
« on: June 28, 2010, 03:32:21 am »
And you get the 'golden handshake' when fired :P

176
ASM / Re: WARNING! usb8x crossing
« on: June 26, 2010, 06:29:53 am »
I think the msd driver from usb8x is outdated. The MSD8x driver should do better.

Also, could you post code please? It might just be some stupid register corruption, you never know. (and Linus' Law: 'given enough eyeballs, all bugs are shallow')

177
TI Z80 / Re: Rogue Z80
« on: June 26, 2010, 04:42:23 am »
It depends on what you write in it :) Also, you can't expect it to do stuff like fork() and spawn(), but those are system calls and do not inherently belong to the C language.


I had this idea yesterday evening: I wrote a sound program, so now I can add sound to rogue. (I know, my priorities are messed up, but I thought it'd be nice).

It is compatible with Pyoro sound because I ripped the frequency constants out of Quigibo's source code. (the actual routine is my own, but it functions similarly to quigibo's, with less features because I don't need them)
* mapar007 runs


PS: I made it play back the Song of Storms from tloz :D

178
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: June 26, 2010, 04:37:57 am »
Quote
300: Thanks to a few minutes of programming at the beginning of the period, you finish tests in half the time that everyone else takes.

Applies to me :P That's (one of the reasons) why I always have to write down everything :D

179
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: June 25, 2010, 01:07:18 pm »
Touché.

180
TI Z80 / Re: The Legend of Zelda
« on: June 25, 2010, 12:23:15 pm »
Awesomeness sensor going crazy!


I'm a tloz fan, of course. That's great, zera! (Spencer gets competition, there)

Pages: 1 ... 10 11 [12] 13 14 ... 38