--- Log opened Sun Dec 07 00:00:49 2008 00:19 -!- Netsplit hub.efnet.us <-> irc.vel.net quits: Tari, @efneTI89, @efneTI81, @efneTI86 00:22 -!- Netsplit over, joins: @efneTI81, Tari, @efneTI86, @efneTI89 01:54 -!- phy1729 [~chatzilla@ip72-200-45-74.no.no.cox.net] has joined #tiasm 01:55 < phy1729> How would I convert a floating point number into ASCII in Z80 asm? 01:56 < BrandonW> If you mean how do you get the OS to do it, I believe that's _FormReal. 01:57 < phy1729> I mean true IEEE 754 floating point 01:58 < BrandonW> If you know the IEEE number, surely you understand the format and how you'd go about doing that. 01:58 < BrandonW> Are you asking a general z80 question or how to do it on the calculator? 01:58 < BrandonW> Because this channel's more for calculator programming. 01:58 < phy1729> how to do it 01:59 < BrandonW> On the calculator? 01:59 < phy1729> yes 01:59 < BrandonW> So a floating-point number from something like OP1, right? Like how the OS stores it? 01:59 < BrandonW> The entry point _FormReal. Disassembling it shows the logic behind it. 02:01 < phy1729> My fault, some background I'm writing a new floating point routine because I think BPD is just horrible and some commands don't work properly. So, no not the OP1. 02:01 < phy1729> I need to do something I shall be back 02:01 -!- phy1729 is now known as phy1729|a 02:03 < BrandonW> I don't understand what the problem is, you do know z80, right? Whatever format you're trying to convert from, extract the digits, add 30h, and store them in order as a string. 02:04 < BrandonW> For specifics on IEE754 or any other format, I can't help there. 02:09 < phy1729|a> let's say I have 10.11 somewhere (really 701600...00) that's 2.75 how do I convert the binary to ASCII 02:23 -!- phy1729|a is now known as phy1729 02:24 < phy1729> unrelated question do you know how to access the USB port? 02:24 <+_aegis_> yes, he does. 02:25 < phy1729> which port is it? 02:25 <@chronomex> the USB port 02:25 <@chronomex> :p 02:25 * chronomex ducks 02:25 * phy1729 misses 02:25 < BrandonW> Access it in what way? 02:25 <@chronomex> pwnt 02:26 < phy1729> by the OUT and IN command 02:26 < BrandonW> The interface to the USB controller hardware is extremely complicated. 02:26 < BrandonW> Some very old documentation is at http://wikiti.denglend.net/index.php?title=83Plus:OS:84_Plus_USB_Information 02:27 < BrandonW> To interface with it in host mode, the best thing to do is use usb8x. 02:27 < BrandonW> I don't have anything released for peripheral mode, but we can use it in that way, too. 02:28 < BrandonW> For regular calc<->calc or PC<->calc communication, http://brandonw.net/calcstuff/remote8x.zip is good sample code. 02:28 < phy1729> wow that is complicated 03:19 < phy1729> BrandonW , what environment do you use? 03:20 < BrandonW> For what? 03:20 < phy1729> for coding Z80 asm 03:21 < BrandonW> For programs, I use TASM and DOS' edit. For Flash applications, I use ZDS. 03:50 < phy1729> how do you get random data? 03:51 <+_aegis_> have the end user press a lot of keystrokes in no particular order 03:51 < BrandonW> The R register, or the entry point _Random. 03:51 < phy1729> how do I use the R register 03:52 <+_aegis_> pop R? 03:52 < BrandonW> I recommend reading some z80 tutorials. 03:52 < BrandonW> Like Learn TI-83 Plus Assembly in 28 Days. 03:52 < BrandonW> But to answer your question, "ld a,r" 03:53 < phy1729> thanks 04:23 -!- Netham45 [~Netham45@c-71-229-253-50.hsd1.co.comcast.net] has joined #tiasm 04:26 <@efneTI92> [Netham45] Error: No Keyboard Present. Press F1 to Continue. 05:43 -!- phy1729 [~chatzilla@ip72-200-45-74.no.no.cox.net] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.1b1/20081007125523]] 13:30 -!- efneTI86 [aardrop@nightshade.epfarms.org] has quit [Remote host closed the connection] 13:37 -!- efneT916 [aardrop@nightshade.epfarms.org] has joined #tiasm 13:37 -!- mode/#tiasm [+o efneT916] by efneTI85, efneTI92, efneTI83 14:57 -!- efneT916 is now known as efneTI86 17:37 -!- Netsplit ircd.he.net <-> ircd.choopa.net quits: @efneTI80 17:41 -!- Netsplit over, joins: @efneTI80 18:37 -!- efneTI85 [aardrop@c-98-218-2-221.hsd1.dc.comcast.net] has quit [Remote host closed the connection] 18:42 -!- efneTI85 [aardrop@c-98-218-2-221.hsd1.dc.comcast.net] has joined #tiasm 18:42 -!- mode/#tiasm [+o efneTI85] by efneTI80, efneTI92 18:42 -!- mode/#tiasm [+o efneTI85] by efneTI86 23:31 -!- Tari_ [~Tari@mke-66-97-117-220.milwpc.com] has joined #tiasm 23:34 -!- Tari [~Tari@mke-66-97-112-61.milwpc.com] has quit [Ping timeout: 272 seconds] 23:34 -!- Tari_ is now known as Tari 23:41 -!- Merthsoft [~Shaun@140.141.26.108] has quit [Quit: Leaving] 23:48 -!- Merthsoft [~Shaun@140.141.26.108] has joined #tiasm 23:49 -!- Tari [~Tari@mke-66-97-117-220.milwpc.com] has quit [Read error: Connection reset by peer] --- Log closed Mon Dec 08 00:00:10 2008