856
TI Z80 / Re: [z80 ASM] Unnamed set of 3D routines
« on: July 04, 2013, 06:44:59 am »
Hmm, what were you passing and what was it returning? It was definitely working for me.
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. 856
TI Z80 / Re: [z80 ASM] Unnamed set of 3D routines« on: July 04, 2013, 06:44:59 am »
Hmm, what were you passing and what was it returning? It was definitely working for me.
857
TI Z80 / Re: [z80 ASM] Unnamed set of 3D routines« on: July 04, 2013, 06:41:07 am »
Oh, the signed division wasn't working? It worked for me when I tested it and it was faster than regular division (sometimes a lot faster)
858
Casio Calculators / Re: [Prizm C] Mandelbrot Set« on: July 04, 2013, 06:38:05 am »
I don't have an 84C yet, but I have been thinking about writing a language similar to Grammer for the Prizm
![]() ![]() 859
TI Z80 / Re: CopyProg« on: July 03, 2013, 03:18:38 pm »
This should fix it. There was a line of code checking for the parity of a result instead of whether it was positive or negative. Essentially, I used jp pe, instead of jp p,.
Oops. 860
TI Z80 / Re: IES: online Axe, BASIC, and Grammer editor« on: July 03, 2013, 01:51:56 pm »I'm working on integrating it into the program editor as well so you can evaluate a constant expression inline without having to pull up a calculator.I am so glad that this feature is being worked on o.o 861
News / Re: RFG Image Uploader closes down; Omnimaga Image Uploader opens« on: July 03, 2013, 12:40:05 pm »
That is excellent, thanks !
862
News / Re: RFG Image Uploader closes down; Omnimaga Image Uploader opens« on: July 03, 2013, 12:34:01 pm »
Is there a way that we can view our previously uploaded images? I always worried that I was uploading duplicates on RFG because I could not remember the name of the image.
863
TI Z80 / Re: CopyProg« on: July 03, 2013, 12:21:00 pm »
In particular, do you mean empty lines, or is it on lines that actually have data? I only encountered a problem with that on newlines, but if you could give an example of it failing on lines with data, that could be helpful (before I release another update).
864
ASM / Re: [z80] 16 by 16 signed division« on: July 03, 2013, 08:27:26 am »
Wait, but does the first routine work?
Maybe I made a typo with the second one... EDIT: Hmm, both seem to work for me, but there could be certain vales that cause problems. What values did you use? For example, I did -16/3 and it returned -5 (65531) with a remainder of 1. 865
ASM / Re: [z80] 16 by 16 signed division« on: July 02, 2013, 11:33:59 am »
EDIT: Fixed a problem for when HL=8000h.
I have this routine that is larger, but faster than my other division routines: Code: [Select] ;=============================================================== So at its slowest, it is 1396 clock cycles and at its fastest (for non-trivial division) it is can get as low as 572 t-states for non-trivial division.EDIT: I think I messed up the clock cycle count (but not by much). Anyways, here is a cleaner version that is smaller and more predictable. 1315-2b t-states where b is the number of bits set in the absolute value of the result: EDIT2: The timings above are correct, now. Code: [Select] ;===============================================================
867
TI Z80 / Re: CopyProg« on: July 01, 2013, 09:40:37 pm »
Awesome, have you seen my GrpRead, TPROG, and LblRW programs, too ? Those are also pretty powerful for BASIC games like RPGs. The first is like CopyProg for groups (it allows you to access data from the groups and extract variables, read lines from variables, and recall pictures from groups). The other is like a simplified CopyProg that is designed specifically for loading archived subprograms to RAM and cleaning them up (it is also tiny). LblRW is rather epic since it allows you to edit data inside your program by overwriting lines or reading lines starting at a label. This lets you keep user data directly in the program (for example, you can make a label called Lbl SV and store the user name and any string data to the lines following). I used that to store monster data, item data such as prices and descriptions, and all sorts of similar code that way.
868
TI Z80 / Re: CopyProg« on: July 01, 2013, 09:31:28 pm »
Sorry for the long wait, I share the internet
![]() Hopefully I didn't leave in any bad code. 869
ASM / Re: [z80] 16 by 16 signed division« on: July 01, 2013, 01:06:09 pm »
The easiest way to do it, probably, is to just use a regular division routine and check for the sign of the input:
Code: [Select] ld a,d In the worst case, it is 141 t-states + however long it takes for the regular division.141 t-states extra if one input is negative 137 t-states extra if both are negative 89 t-states extra if both inputs are positive 870
Casio Calculators / [Prizm C] Mandelbrot Set« on: July 01, 2013, 11:34:31 am »
This is my first working Prizm C program and it is much faster and prettier than my BASIC version. As the title implies, this draws the Mandelbrot set and currently does not do much. You have to wait for it to draw the whole thing and it isn't very fast (it takes about 1 minute 15 seconds to render), but once it is done it looks cool:
![]() Press [MENU] to exit. I really don't suggest downloading it since all it amounts to is what you see in the still screenshot. My plan is to make an explorer and see if I can possibly make it faster, but I thought I would share with anybody that is curious. Also, the code: Code: [Select] #include <fxcg/display.h> I also have no Icon made yet ![]() |
|