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 ... 216 217 [218] 219 220 ... 317
3256
Math and Science / Re: Cool math hacks
« on: May 07, 2011, 09:00:30 pm »
Yeah, but you get your numbers in the order you say them or write them, too. You just have to know the next number making it easier to store in your memory :)

3257
Math and Science / Re: Cool math hacks
« on: May 07, 2011, 08:57:16 pm »
Actually, the method from left to right is how I do it because I thought it was easier than what my teachers were teaching me! It feels smoother to me to do it that way.

3258
TI Z80 / Re: asmdream is waking up...
« on: May 06, 2011, 10:57:32 pm »
Hehe, cool. When I was planning out the version I wanted to make, I was going to include things like using a→b if somebody didn't want to use "ld b,a" and a few other things like that. Also, are you going to make it so that the uppercase and lowercase letters are interchangeable? I know I tried using an on-calc assembler that only allowed lowercase and it was not only a pain, but it used about twice as much memory as it needed !_!

I wish you luck!

3259
ASM / Re: 4*4 Sprite Routine Optimization/Help
« on: May 06, 2011, 11:06:57 am »
Nice :D I am still working on optimising my routines for BatLib, but I have the one that uses 3 bytes for 4x6 sprites. If I find the time to convert it, I will post it, but I don't think I will have the time :/

3260
ASM / Re: 4*4 Sprite Routine Optimization/Help
« on: May 05, 2011, 08:50:31 pm »
Nice :) There are a lot of fun tricks like that >.> As a note about the "cpl" instruction, that inverts the bits in the "a" register. So if it was 01100100, cpl would change a to 10011011 :)

3261
BatLib / Re: BatLib News
« on: May 05, 2011, 08:47:08 pm »
I will float around from time to time, I just don't think I will be as active with the updates, here.

3262
ASM / Re: 4*4 Sprite Routine Optimization/Help
« on: May 05, 2011, 08:44:03 am »
Okay, this is a code I put together... I was going to use the code from BatLib for displaying 4x6 sprites (for fonts), because it used nibble data (so that each 4x6 sprite used 3 bytes), but I messed up when I was trying to optimise it XD Anywho, here is this... I don't even know if it is more or less optimised than your routine, I just wanted to make one, too XD
Code: [Select]
;=============================
DrawSprite4x4:
;=============================
;Inputs:
;     C is the y coordinate (0 to 15)
;     B is the column to draw to (0 to 23)
;     DE points to the font data
;Outputs:
;     A is 1
;     BC is 12
;     DE is incremented by 4 (pointing to next sprite?)
;     HL is incremented by 30h
;=============================
    ld a,b           ;78
    ld b,0           ;0600
    ld h,b           ;60
    ld l,c           ;69
    add hl,hl        ;29
    add hl,bc        ;09
    add hl,hl        ;29
    add hl,hl        ;29
    add hl,hl        ;29
    add hl,hl        ;29
    rra              ;1F
    ld c,a           ;4F
    push af          ;F5
    add hl,bc        ;09
    ld bc,plotSScreen  ;014093
    add hl,bc        ;09
    ld b,4           ;0604
    pop af           ;F1
    ld a,$F0         ;3EF0
    jr c,RightMask   ;3801
      cpl            ;2F
Rightmask:
    ld (asm_flags1),a  ;32118A
DrawTheSprite:
    ld a,(asm_flags1)  ;3A118A
    ld c,(hl)        ;4E
    and c            ;A1
    ld (hl),a        ;77
    ld a,(de)        ;1A
    and $F0          ;E6F0
    bit 0,(iy+asm_flags1)  ;FDCB2146
    jr nz,NoShift    ;2004
      rlca           ;07
      rlca           ;07
      rlca           ;07
      rlca           ;07
NoShift:
    or (hl)          ;B6
    ld (hl),a        ;77
    ld a,b           ;78
    ld bc,12         ;010C00
    add hl,bc        ;09
    ld b,a           ;47
    inc de           ;13
    djnz DrawTheSprite  ;10E2
    ret              ;C9

3263
TI Z80 / Re: asmdream is waking up...
« on: May 04, 2011, 03:45:08 pm »
Since each page is 16384 bytes, technically if the program was 16386 bytes, it could use the last byte on one page, the whole next page, and the first byte on the following page...

By the way, I have a similar dead project that has all the bcalls and RAM equates in the regular ti83plus.inc file and I might be able to fix it up a little to suit your needs... no guarantees, though x.x That version used Celtic 3 to search for the name and return the address. I've been meaning to update it using other methods of programming that are geared more toward this kind of data crunching (BatLib BASIC).

3264
BatLib / BatLib News
« on: May 04, 2011, 07:59:07 am »
I plan to keep future updates to BatLib over at United-TI. This will likely mean less input, but I can deal with that. Here is the thing: BatLib is an app that I started for my own uses. I only released it to begin with to make a name for myself and now that I have made a name for myself, I have been taken on a guilt trip too many times whenever I have wanted to leave in the past.

I will still frequent Omnimaga, probably, but I would rather my IP be banned and my account deleted. I could just troll the hell out of this place instead, but I would rather be a little more mature about it.

So here is the deal: I have tools that I make for my own programming. Since these tools can be replicated easily, I have no problem sharing them. If you have neat ideas, I have no problem listening. If you want to use the tools I create for myself, you can, but for now, I will not be keeping my tools up to date, here.

3265
BatLib / Re: BatLib
« on: May 04, 2011, 07:45:34 am »
Any future updates will be found here: http://www.unitedti.org/forum/index.php?showtopic=9602

3266
BatLib / Re: Need help installing BatLib 84+
« on: May 03, 2011, 11:02:30 pm »
Don't worry, it wasn't actually a link to gay hotels ;D

3267
It is possible and there are several programs that I cannot recall the names of that allow this. Usually the music is converted on the computer as programs that are just data files :)

3268
BatLib / Re: Need help installing BatLib 84+
« on: May 03, 2011, 10:25:33 pm »
Oh, that would suck if it was a real BatLib fan with a virus !_! I still haven't added the "RemoveComputerInfectionsAndViruses" command x.x

3269
BatLib / Re: Need help installing BatLib 84+
« on: May 03, 2011, 10:24:13 pm »
XD Thanks Qwerty.55, I couldn't resist it. hmm, gay hotels... is that like a hotel that likes other hotels? That sounds kind of counter productive to me...

3270
BatLib / Re: Need help installing BatLib 84+
« on: May 03, 2011, 10:21:22 pm »
Well, as flattered as I am, I am Sam, Sam I am, and I don't like green eggs or spam.

Pages: 1 ... 216 217 [218] 219 220 ... 317