3331
Site Feedback and Questions / Re: Graphic D:
« on: April 24, 2011, 01:02:11 am »
I like 'em, personally. I definitely like the
and the blank one

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. 3331
Site Feedback and Questions / Re: Graphic D:« on: April 24, 2011, 01:02:11 am »
I like 'em, personally. I definitely like the
![]() 3332
TI Z80 / Re: On-Calc Virtual Processor« on: April 24, 2011, 12:57:03 am »
I don't know ... I tried clearing my RAM first and it doesn't work. I have Axe 0.5.1 so does anybody know how I can install that token hook?
3333
TI Z80 / Re: On-Calc Virtual Processor« on: April 24, 2011, 12:51:17 am »
The token hooks should be, but Axe messes with other RAM areas for BatLib. I am trying to see if it will cause a crash or not, but for some reason, my version of Axe isn't creating the token hook
![]() 3334
TI Z80 / Re: On-Calc Virtual Processor« on: April 24, 2011, 12:44:13 am »
Yeah, the whole point to it is that as long as you don't have any apps that interfere with BatLib, it won't crash. This will give freedom to users from the worry of crashing their calc. Also, another note is that the final product will be faster, but while I am beta testing it, I need to view the registers at every step. I also plan to make an assembler and hex editor for it to make programming it easier
![]() 3335
TI Z80 / On-Calc Virtual Processor« on: April 24, 2011, 12:38:30 am »
I have decided, once again, to start up another project... This time it is going to be a virtual processor on the calc. The reason I decided to start this was to give beginners a safe way to play with assembly, get accustomed to hexadecimal and syntax, and to get them used to low level stuff. For that reason, I wanted some input about what instructions should be supported. I am using BatLib extensively, so I have access to some resources (like for reading/writing bytes and the emulated LCD and whatnot). At the moment, I have this stuff finished:
-The memory map consists of 4 memory banks of 256 bytes each (1024 bytes, total) -There are 16 pages in all making a total of 4096 bytes of memory -There is a PC register (functioning) -There is an SP register (not used yet) -There are registers a,b,c,d,e,h,l,f as in Z80 assembly -I have loads all of the loads working in the form of ld reg8,reg8 where reg8 can be a,b,c,d,e,h,l, or (hl) -There is an emulated LCD port that is 32x32 -There are four emulated ports for memory mapping The emulated LCD port cannot be written to, yet (there isn't an in/out instruction), but here is how it works: -Load a byte into the port (port 0). This is an MSB -Load another byte and this becomes the LSB. At this point, the LCD "refreshes" using the MSB and LSB as an address in memory for where the LCD data is. Unfortunately, a 32x32 screen means that half of a page is used up (128 bytes), but at least you don't have to write every byte of an image to a port ![]() So anyway, here is what I plan to add soon: add / adc sub / sbc and / xor or / compare (really I didn't want to type "cp") jr / jp / call / ret ld (address),reg8 / ld reg8,(address) ld reg8,immediate / (in/out/bit/extended/ex de,hl/ex sp,hl /ex pc,hl push / pop port 5- key port: write is the same as the actual key port, read is the same. The value refreshes after the next instruction finishes. So does anybody have any suggestions or ideas?! Here is a screeny, too. When you notice that I use these commands: dim(14,Str2,0,15 dim(14,Str2,1,1 dim(14,Str2,2,49 dim(14,Str2,3,255 ... Str2 has the name of the hacked string and I am writing to the first few bytes 0F0131FFFFFFFFF... That translates to: Code: [Select] ld b,(hl) So the first time it was run, hl was 0, so it read byte 0 (0F) and stored it to b. Then it loaded b into a and then it loaded a into l. The next time it was run, hl was 000Fh and byte 15 was FFh, so FF was loaded into b, b into a, and a into l. The next time it was run, hl=00FFh and byte 255 was 00h, so 0 was loaded into b, then a, then l and it all starts all over again.As a note, I could have just done 37h and it would have done ld l,(hl), but I needed an example ![]() 3336
Pokémon Purple / Re: [PP] Progress '11« on: April 23, 2011, 12:36:22 pm »
Ah, I don't have a twitter cage or whatever it's called
![]() ![]() ![]() 3337
TI Z80 / Re: Assemblex IDE« on: April 23, 2011, 11:23:32 am »
Ah, okay! And yeah, I realised after you told me in your other post
![]() Also, I kind of want to make an on calc assembler using Assemblex ![]() 3338
TI Z80 / Re: Assemblex IDE« on: April 23, 2011, 11:19:46 am »
You will be updating here, too, right?
3339
TI Z80 / Re: [Project]Assemblex« on: April 23, 2011, 11:15:52 am »
I am awaiting the new feature
![]() 3340
BatLib / Re: BatLib Ideas/Wishlist« on: April 22, 2011, 09:34:35 pm »
For now, a method for randInt( in ReCode would be to use the fact that division stores the remainder in Ans'. Using Ans in your code will swap Ans with Ans' so what you can do for randInt(1,8 is:
Code: [Select] rand/8 ;This will store a remainder of 0 to 7 in Ans' I hope this helps, but if I get time to program, I will try to add in a randInt( command ![]() 3341
BatLib / Re: BatLib« on: April 22, 2011, 04:15:56 pm »
I have them only from simple mistakes, but then again, I made it so I know all the tricks and limits
![]() 3342
Miscellaneous / Re: Cleverbot!« on: April 22, 2011, 09:13:44 am »
Cleverbot hates me !_!
Code: [Select] User: Hello.
3343
Introduce Yourself! / Re: Here's a new coder in the family« on: April 22, 2011, 08:54:58 am »
Meow meow meow meow meow meow. Meow meow meow!
![]() ![]() ![]() ![]() 3344
BatLib / Re: BatLib« on: April 21, 2011, 09:20:53 pm »The lessons I have learned... ![]() ![]() I should definitely make a note about the ReCode thing and while I said in the regular BatLib readme that the codes were different for dim(43, I never mentioned in the ReCode readme anything about that, so sorry ![]() Xeda112358 revises readme... EDIT: I also noticed that I forgot to fix the Pause While command to Pause If in the readme.... Also fixing ![]() 3345
BatLib / Re: BatLib« on: April 21, 2011, 04:58:22 pm »
That's okay
![]() |
|