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

Pages: 1 [2] 3 4 ... 17
16
ASM / Re: Shifting data block down a nibble?
« on: March 22, 2017, 07:46:57 pm »
Hi @c4ooo,
Can you be a bit more specific? AFAICT a nibble is just a set of 4 bits glued together; why don't you just shift-right by a constant of multiple of 4, or do you something else on your mind/question?
I need to shift the buffer down/up a nibble (4 bits). So something like 0xABCD -> 0x0ABCD0

The relevant instruction is RRD, it's not very fast but it seems like nothing is ever fast on z80..

You can do something like
Code: [Select]
  xor a
_shiftloop:
  rrd
  dec hl
  djnz _shiftloop
Maybe inc hl, depends on the endianness of your buffer.
Thanks, will investigate later.

17
ASM / Shifting data block down a nibble?
« on: March 20, 2017, 11:47:20 pm »
How do I shift a block of data down a nibble? IIRC there was an instruction that swapped nibbles or something that made this easy. The shifted data will never be >256 bytes long.

Posted on omni since it seems that all the monochrome z80 programmers have remained here.

18
HP Calculators / Re: Minecraft like Game for HP Prime
« on: March 18, 2017, 05:19:25 pm »
Youtube video was removed? :(

19
The Axe Parser Project / Re: External axe compiler?
« on: February 21, 2017, 08:07:10 pm »
I seemed to have the same problem a couple of days ago. Even with backup off, axe would create a backup of the file, even if a backup already existed (it wouldn't overwrite, it would create two vars of the same name). It would then revert to the second to last backup.

21
Axe / Re: What is wrong with my 3D code?
« on: November 11, 2016, 08:47:25 am »
Looking back, the times 48 thing makes sense now :)

22
Music Showcase / Re: Pimath's WIP Music Topic
« on: November 05, 2016, 09:04:42 am »
I've been busy with life andstuff, plus I've been doing more music than programming lately, so there's that bit :/
Ohh nice, got any projects you could post about? :3

23
Reuben Quest / Re: Reuben 3 teasers / change / stuff
« on: October 02, 2016, 09:45:17 pm »
I made the hookshot finally layer-aware in an extremely hacky way! :3


Nice! :) Wouldn't it be easier to just have a subset of tiles that can be hit with a hook, and another set that can't be hit by a hook?

24
Reuben Quest / Re: Reuben 3 teasers / change / stuff
« on: September 17, 2016, 11:47:08 am »
Personally I like how the enemy "decays" in the second animation.

25
ASM / Re: Running ASM programs with wabbitemu
« on: September 04, 2016, 07:10:06 pm »
A file doesnt have to have the same name as the .8xp file in which its contained. Ex if i send the program "TEST" from my calc to PC, TI's software will save it as "TEST.8xp". However if i rename "TEST.8xp" to anything like "Longer than 8 chars {}{}{}.8xp"; when i send it to my calc, it will still create the program "TEST" on my calc.

26
OmnomIRC Development / Re: OmnomIRC changelog and suggestions
« on: August 06, 2016, 08:39:01 am »
I can't view omnomIRC in chrome on android??? The space where it's supposed to be is so empty. Maybe its because of the  small screen size though.

27
ASM / Re: Random Questions
« on: August 03, 2016, 02:42:05 am »
Here is a good list of instructions: http://clrhome.org/table/ :)
(As well as what they do, how many memory they take up, how long they take to execute, and more :P )

28
Computer Projects and Ideas / Re: haroldbot (theorem prover / solver)
« on: June 21, 2016, 09:47:33 pm »
Can someone explain why ""0x80000000 / -1" in signed mode" should error?

29
Axe / Re: Axe Q&A
« on: May 21, 2016, 04:19:16 pm »
Please be more specific ;)
To quote kerm:
"What are you trying to do?
What did you expect to happen? (What errors did you get?)
What actually happened?"

30
TI Z80 / Re: Minecraft for CE [WIP]
« on: May 04, 2016, 10:10:42 pm »
Began implementing sprites:

Sprites are converted to hex using mateo's wonder full convPNG program :)

Pages: 1 [2] 3 4 ... 17