1291
The Axe Parser Project / Re: Bug Reports
« on: May 08, 2011, 02:01:28 am »
I JUST DISCOVERED A HORRIFIC BUG!!!1
Spoiler For Horrific bug:
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. 1291
The Axe Parser Project / Re: Bug Reports« on: May 08, 2011, 02:01:28 am »
I JUST DISCOVERED A HORRIFIC BUG!!!1
Spoiler For Horrific bug: 1292
The Axe Parser Project / Re: Features Wishlist« on: May 07, 2011, 04:27:57 pm »
Here's one that I think would be pretty useful and easy to implement: custom interrupts that call the OS interrupt handler before starting or upon finishing. This would allow programmers to use commands like getKey or getKeyr with custom interrupts enabled, which could be very useful. Perhaps fnInt(LBL,FREQ)r? If they wanted they could actually use this to speed up arrow key repeats as well.
1293
News / Re: TI-Boy SE Beta pre-release« on: May 07, 2011, 11:57:47 am »
That screenshot was taken in fully zoomed-out mode, which takes longer to render the screen than other zoom modes. It has to draw the entire screen, not just a small visible window of it, and then has to scale it down and apply dithering. The emulator will generally run much faster at 100% scale, with 100% black-and-white being about 1.6x as fast as 50% in my experience.
1294
ASM / Re: Why does inc/dec not affect carry flag?« on: May 06, 2011, 08:05:43 pm »
The inc reg16 and dec reg16 instructions don't affect flags because they are very often used to simply advance a pointer in data as part of a routine that needs the flags for other information. Also, it's simple enough to make your own version that affects flags by using 8-bit inc or dec instead.
1295
ASM / Re: Why does inc/dec not affect carry flag?« on: May 06, 2011, 04:12:08 pm »
Yes. There's no reason to affect the carry flag if you can look to another flag for (nearly) identical results. I've seen a few routines that rely on this lack of carry flag affecting to function optimally.
1296
ASM / Re: Why does inc/dec not affect carry flag?« on: May 06, 2011, 03:56:16 pm »
They don't affect the carry flag because the zero flag does pretty much the same thing, allowing data in the carry flag to be preserved. For inc reg8, the zero flag is affected in the exact way the carry flag would be affected, both of which would be set if the register was 0xFF before the operation. For dec reg8 it's not exactly the same, but it's very close. The zero flag would be set if the register was 0x01 whereas the carry flag would be set if the register was 0x00, but this can be easily corrected for by keeping the register's value at 1 above the value you actually want it to represent.
1297
TI Z80 / Re: GX Grayscale Library« on: May 06, 2011, 01:40:15 pm »
Why not make it an Axiom? The pure assembly developers have access to some great grayscale routines posted by people like thepenguin77. It seems to me that Axe programmers would be the ones most aided by packaged grayscale routines.
1298
ASM / Re: 4*4 Sprite Routine Optimization/Help« on: May 06, 2011, 01:17:34 am »
Sorry it took me so long to get together a routine, but I was busy with some other stuff. My routine is in the style of Xeda's routine. It reads from a 4-byte sprite and uses overwrite logic, and for the most part mimics her routine. Except it's improved.
It also allows for drawing to a buffer besides plotSScreen, although I didn't mention this because hers could easily be modified for this as well. You can also view the routine at http://typewith.me/Zv15SUf9Ve. Xeda or anyone else, feel free to grab this routine for your own projects. Code: [Select] PutSprite4x4: EDIT: Found a way to save 12 more cycles. 1299
News / Re: TI-Boy SE Beta pre-release« on: May 05, 2011, 08:21:34 pm »Does Beta 0.1.03 get rid of the transfer problem for Pokemon? Yes. Although it didn't directly address the issue, it did fix it as a side-effect of other changes. 1300
The Axe Parser Project / Re: Features Wishlist« on: May 04, 2011, 02:30:02 pm »
Unfortunately, this isn't an Axe limitation, this is an OS limitation. Axe uses the OS text drawing routines, and the OS is incapable of drawing text to any buffer other than the front buffer.
1301
News / Re: TI-Boy SE Beta pre-release« on: May 04, 2011, 01:06:18 pm »
How would that have changed while the application was on my calculator? Also, how exactly can I examine the last page of an application? I can't seem to figure it out in Calcsys.
EDIT: Somehow, the entire last page has been filled with 0xFF. 1302
News / Re: TI-Boy SE Beta pre-release« on: May 04, 2011, 10:39:27 am »
fred30w, there's not much that can be done about the flickering. You won't experience any flickering playing at 100% zoom in black and white, but otherwise it's unavoidable. In the more zoomed-out black and white modes, the flickering you see is intentional. This is dithering to make the graphics easier to see at smaller zoom levels. And in grayscale mode, the flickering is just the nature of grayscale on the TI-83+/84+ calculators. The flickering will also be more pronounced in more CPU-intensive games, which is also unfortunately unavoidable.
And on a separate note, I now have a bug with Pokemon. Pokemon used to work fine on my calculator, but I now get what I believe is the not-enough-RAM pages error (Cartridge type is unsupported. Sorry for the inconvenience.) Unless the extra RAM pages disappeared from my calculator in the past week or so, I'm pretty sure they're still there. 1303
The Axe Parser Project / Re: Bug Reports« on: May 03, 2011, 01:56:39 pm »
No, he's right. The old p_Nib2 routine is only 17 bytes. I guess that's even more reason to simply revert the changes.
1304
The Axe Parser Project / Re: Bug Reports« on: May 03, 2011, 12:16:31 am »
The nibble reading bug should pretty much never happen, since it will only occur if you try to read from one of 6 bytes inside the routine itself. I could see this bug maybe cropping up in something like a memory viewer program, but that's about it.
However, the old nibble reading routines were only 1-3 bytes larger than the current ones, so I think it may just be best to revert the changes. I would suggest reverting the $0000-$7FFF routine as well, because if the user had switched a RAM page into the $4000 slot with the help of assembly, the "application" nibble reading routine would have even worse effects than the RAM reading routine, as it would always corrupt the target data. Be sure to get the endianness of the old nibble-reading routines correct, though. There isn't really a need to revert changes to the nibble writing routine, because if the user is writing a nibble inside of the routine, they're in trouble no matter what routine is being used.
1305
The Axe Parser Project / Re: Features Wishlist« on: May 02, 2011, 06:31:28 pm »Code: [Select]
Although this is easily achieved with a custom routine, I'm wondering if it should be added as an Axe feature anyway. Getting a random integer from a to b is a feature of just about every programming language. |
||||||
|