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 - Xeda112358

Pages: 1 ... 226 227 [228] 229 230 ... 317
3406
TI Z80 / Re: Online Z80 Disassembler
« on: April 16, 2011, 07:47:21 pm »
Hehe, I love this :D Now it is closer to being like the python version ! I definitely like this... Also, does that mean you don't even need those options anymore?

3407
TI Z80 / Re: Online Z80 Disassembler
« on: April 16, 2011, 07:03:56 pm »
I've gotten to give this a try and I must say, I really like this! It is fast and it is actually easier for me to code in this while I am chatting online. I especially like the ease of use because there is nothing to install or download, so you have a respect point from me!

EDIT: Where does it say it is an assembler?

3408
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 06:36:52 pm »
Hehe, I was making this post waiting for a response, so I will just post anyway...

This is why I like hex.... it makes much more sense...

EF1602

Step1:
calls 0028h which jumps to another location

Step2:
analyses address. Sees  that 0216 does not have bit 14 or bit 15 set so it handles it as an app bcall

Step3:
Adds 4000h to 0216h and stores it to HL. Then it fetches the call info at that address.

Step3:
stores address elsewhere, gets the current app page and uses the offset page to adjust

Step4:
Calls the call.

Step5:
Restore the page and rets to return.

3409
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 06:30:04 pm »
Because it isn't run from that :) The bcall sees it is from an app so it takes the address and adds 4000h to it then jumps to the correct address

3410
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 06:27:03 pm »
Because the bcall for the app is bcall(0216h) instead of bcall(4216h) even though they are still the same address. Once the routine figures out that it is less than 4000h, it realises it is from an APP and then adds 4000h to the address :)

3411
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 06:21:13 pm »
Only when the bcall info is in the app

3412
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 06:02:03 pm »
if 4135h is the address you are looking at, the bcall would be bcall(4135h-4000h) or bcall(0135h)

3413
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 05:48:32 pm »
Hehe, actually, apps can create bcalls :) The special thing is that bcalls from apps have to have an address of a multiple of 3, I believe, and bit 6 is reset as opposed to set. I think that is how it works...

*bit 6 of the MSB of the address

3414
ASM / Re: How does B_CALLs know which page to look at?
« on: April 16, 2011, 05:45:57 pm »
Because the bcall is really rst 28h followed by a two byte address. The rst 28h is a one byte representation of the three byte call $0028 At 0028h, there is another jump that actually jumps to the bcall call. There, the two bytes following the rst 28h is used to determine which page the call info is on. If the address has bit 7 set, it goes to one page (0**11011b I believe, where ** is 11 on an +SE, 01 on an 83+BE and 10 on an 84+BE) . Either way, on that page, it finds the page number of the actual call as well as the address.

TL;DR
bcall is executed on page 0, not page 1, that is why :)

3415
TI Z80 / Re: Assemblex IDE
« on: April 16, 2011, 09:55:57 am »
So I just tried this and so far I am absolutely going to love this! Can  make a teeny request pretty please?!? Um, it would be reallllly cool if I could include labels for the hex. Like, if I did:
Code: [Select]
EF4645
210000
224B84
21(.Text)
EF1045
C9
.Text
0548656C6C6F
then (.text) could return the little endian address of the point after the C9. It isn't really too important, but I bet there would be more hex programmers if that happened! Plus, I have been wanting to add that ability to a calc program I made...

3416
BatLib / Re: BatLib Ideas/Wishlist
« on: April 16, 2011, 09:37:17 am »
Hmm, well for now, this will work:
Code: [Select]
Pause If getKey≠9
But otherwise, I will see if I can do anything.

3417
BatLib / Re: BASIC ReCode v2.00
« on: April 16, 2011, 12:31:24 am »
No, not yet :/ I have to figure out interrupts and then I can do that :)

3418
Miscellaneous / Re: 10 day absence
« on: April 15, 2011, 09:03:40 pm »
Aww, have fun, then!

3419
Oh, well howdy :) I hope you get to have this much fun, too! So, um, yeah! I've seen you lurking around, too, so hi!

3420
BatLib / Re: BatLib
« on: April 15, 2011, 07:57:38 pm »
Well, I put the question mark there... I might work on something akin to an OS sometime...

Pages: 1 ... 226 227 [228] 229 230 ... 317