code logs -> 2007 -> Wed, 20 Jun 2007< code.20070619.log - code.20070621.log >
--- Log opened Wed Jun 20 00:00:28 2007
00:16 ToxicFrog|W`rkn is now known as ToxicFrog
00:38 Chalcedon is now known as ChalcyFrozen
00:40 Thaqui [~Thaqui@Nightstar-11535.jetstream.xtra.co.nz] has joined #code
00:40 mode/#code [+o Thaqui] by ChanServ
01:12 C`raksh`su is now known as UndeadAnno
01:18
< MyCatVerbs>
ToxicFrog: out of curiosity, where's the demon fixation line from, please? Princess Bride?
01:24
<@ToxicFrog>
Penny Arcade, IIRC.
01:29
<@ToxicFrog>
http://www.penny-arcade.com/comic/2003/08/29
02:47 Forjadon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has joined #code
02:47 mode/#code [+o Forjadon] by ChanServ
02:47 Forjadon is now known as ChalcyWarm
02:55 ReivSLEP is now known as Reiver
03:04 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?]
04:23 GeekSoldier|Bed is now known as GeekSoldier|Work
04:37 Thaqui [~Thaqui@Nightstar-11535.jetstream.xtra.co.nz] has quit [Quit: Leaving]
07:25 Vornicus-Latens is now known as Vornicus
07:37 You're now known as TheWatcher
08:15 Vornicus [~vorn@Admin.Nightstar.Net] has left #code [Leaving]
08:23 Vornicus [~vorn@67.50.40.ns-3674] has joined #code
08:23 mode/#code [+o Vornicus] by ChanServ
08:59 KBot [~karma.bot@Nightstar-29432.neoplus.adsl.tpnet.pl] has joined #Code
09:01 UndeadAnno [~farkoff@Nightstar-29672.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
09:01 KarmaBot [~karma.bot@Nightstar-29672.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
09:01 KBot is now known as KarmaBot
09:06 AnnoDomini [~farkoff@Nightstar-29432.neoplus.adsl.tpnet.pl] has joined #Code
09:14 gnolam [lenin@85.8.5.ns-20483] has joined #Code
09:14 mode/#code [+o gnolam] by ChanServ
09:26 Thaqui [~Thaqui@Nightstar-4731.ubs-dsl.xnet.co.nz] has joined #code
09:26 mode/#code [+o Thaqui] by ChanServ
10:05 ChalcyFrozen is now known as Chalcedon
--- Log closed Wed Jun 20 10:13:52 2007
--- Log opened Wed Jun 20 10:13:55 2007
10:13 TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
10:13 Irssi: #code: Total of 17 nicks [10 ops, 0 halfops, 0 voices, 7 normal]
10:13 mode/#code [+o TheWatcher] by ChanServ
10:14 Irssi: Join to #code was synced in 36 secs
10:36 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: Gone]
10:40 ChalcyWarm [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: Leaving]
11:06 Reiver [~reaverta@Admin.Nightstar.Net] has quit [Ping Timeout]
11:09 NSGuest-2486 [~reaverta@Admin.Nightstar.Net] has joined #Code
11:13 NSGuest-2486 [~reaverta@Admin.Nightstar.Net] has quit [Ping Timeout]
11:23 NSGuest-2488 [~reaverta@Admin.Nightstar.Net] has joined #Code
11:24 NSGuest-2488 is now known as Reiver
12:23 Reiver [~reaverta@Admin.Nightstar.Net] has quit [Ping Timeout]
12:25 Reiver [~reaverta@Admin.Nightstar.Net] has joined #Code
12:25 mode/#code [+o Reiver] by ChanServ
14:18 Thaqui [~Thaqui@Nightstar-4731.ubs-dsl.xnet.co.nz] has quit [Quit: Leaving]
15:04 GeekSoldier_ [~Rob@Nightstar-6907.pools.arcor-ip.net] has joined #code
15:06 GeekSoldier|Work [~Rob@Nightstar-3103.pools.arcor-ip.net] has quit [Ping Timeout]
15:26 * AnnoDomini is trying to learn up for tomorrow's Microprocessor Technology exam. Are any of you people acquainted with programming a Motorola M6800 processor, and could you show me what a program for this looks like?
15:26
<@ToxicFrog>
68000, surely.
15:26
<@ToxicFrog>
And yes, I am.
15:27
<@ToxicFrog>
Although it's been a while.
15:27
<@ToxicFrog>
(and I don't have the manual with me)
15:28
< AnnoDomini>
No, the lecture notes say M6800.
15:29 * ToxicFrog consults the intarwebs
15:30
<@ToxicFrog>
Aah. In that case, no, I can't help you. I've only worked with the 68k.
15:31
< AnnoDomini>
Hrm. Maybe it can help me, nonetheless. We're supposed to (I think) write short assembly programs. Like one than multiplies a number by 4.
15:31
< AnnoDomini>
I'm pretty sure it can be done with a shift, but... I don't know where to start, even with the command list.
15:33 * AnnoDomini has never coded in assembly.
15:36
<@ToxicFrog>
...er. Why are they testing you on that on the exam, then?
15:36
<@ToxicFrog>
And yeah, a left shift of 2 will do tat.
15:38
< AnnoDomini>
Because we had lectures with a guy who refuses to use the microphone despite having a weak voice, who worked on malfunctioning software and presented us with an abstract overview of incomprehensible material on the M6800 and its use.
15:38
< AnnoDomini>
Attendance was minimal (<20%), too, and the hour mostly prevented any conscious effort.
15:39 * AnnoDomini sighs.
15:40
<@ToxicFrog>
...
15:40
<@ToxicFrog>
Joy.
15:41
< AnnoDomini>
Yesindeed.
15:41
<@Vornicus>
I thought the 68000 had a built in mul.
15:41
< AnnoDomini>
This is 6800. Six-eight-zero-zero.
15:43
<@Vornicus>
ah
15:43
< AnnoDomini>
The exam will be composed of three tasks - two theoretical, and one practical (the assembly programming). If all goes well, I can memorize enough of the material to pass those.
15:43
<@Vornicus>
HCF!
15:43
< AnnoDomini>
I mean, the theory.
15:44
< AnnoDomini>
HCF?
15:44
<@Vornicus>
Halt and Catch Fire!
15:44
<@ToxicFrog>
The 6800 had an HCF - Halt & Catch Fire - instruction.
15:45
<@Vornicus>
"The Motorola 6800 microprocessor was the first for which an HCF opcode became widely known. The instruction makes the processor enter a mode intended for manufacturing testing, in which it continuously performs memory read cycles from successive addresses, with no intervening instruction fetches. Effectively the address bus becomes a counter, allowing the operation of all address lines to be quickly verified. Once the processor has entered this test mode
15:45
<@Vornicus>
it is not responsive to interrupts, so normal operation can only be restored by a reset."
15:45
<@ToxicFrog>
What it actually did was drop the processor into a memory test mode.
15:45
<@ToxicFrog>
(and I know it as HMCF - Halt, Melt & Catch Fire)
15:45
<@Vornicus>
"There are apocryphal results of damage resulting from the use of such instructions, but there is no documented evidence of such an instruction actually causing damage to a computer. Obviously special instructions designed into a processor for use in manufacturing tests would not be designed in such a manner as to cause damage to that processor."
15:57
< AnnoDomini>
When writing assembly, does one use base 10 or base 16?
15:57
< AnnoDomini>
I mean, for input values or whatnot.
15:57 ToxicFrog is now known as ToxicFrog|W`rkn
15:58
<@Vornicus>
Often you can do either, you should look at your reference manual though.
15:58
<@ToxicFrog|W`rkn>
...generally, you can use either.
15:58
<@ToxicFrog|W`rkn>
It all gets translated into machine code, after all.
15:58
<@Vornicus>
To see how to make such stuff.
15:59
<@ToxicFrog|W`rkn>
It's common to use $123 for hex, and e for binary, but check your assembler documentation for the convention it uses.
15:59
<@ToxicFrog|W`rkn>
...er.
15:59
<@ToxicFrog|W`rkn>
%101 for binary.
15:59
< AnnoDomini>
I see.
16:20
<@gnolam>
MOVE.L AnnoDomini,(A0)+
16:21 AnnoDomini is now known as nnoDomini0
16:48
<@ToxicFrog|W`rkn>
Interesting.
16:48
<@ToxicFrog|W`rkn>
The systems we build with GCC are noticeably faster than the ones we build with MSDEV, but use more memory.
17:06 You're now known as TheWatcher[afk]
17:25
<@ToxicFrog|W`rkn>
...hmm.
17:25
<@ToxicFrog|W`rkn>
At some point, I decided that the object table and the object metatable should be seperate.
17:25
<@ToxicFrog|W`rkn>
I no longer remember why I did this. It seems like a bad idea.
17:34
<@Vornicus>
what do the object table and the object metatable do?
17:39
<@ToxicFrog|W`rkn>
The object table holds all of the object's fields.
17:39
<@ToxicFrog|W`rkn>
The object metatable holds operator overloads.
17:40
<@Vornicus>
aha.
17:42
<@ToxicFrog|W`rkn>
In particular, you have a proxy object (a one-byte userdata); the metatable is applied to the proxy to implement operator overloads, and refers __index and __newindex operations (by default) to the object table.
18:15 You're now known as TheWatcher
18:29 nnoDomini0 is now known as AnnoDomini
18:30 AnnoDomini is now known as UndeadAnno
18:32 UndeadAnno is now known as AnnoDomini
18:32 AnnoDomini is now known as UndeadAnno
18:38 UndeadAnno [~farkoff@Nightstar-29432.neoplus.adsl.tpnet.pl] has quit [Quit: There is strength not only in *knowing* the self, but *knowing* how to bring it forth in others.]
18:42 AnnoDomini [~farkoff@Nightstar-29432.neoplus.adsl.tpnet.pl] has joined #Code
18:55 mode/#code [+o AnnoDomini] by ChanServ
18:58 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
19:02 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
19:04 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
19:06 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
19:08 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
19:09 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
19:11 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
19:25 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Connection reset by peer]
19:25 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
19:26 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Connection reset by peer]
19:29 AnnoDomini is now known as UndeadAnno
19:46 UndeadAnno is now known as AnnoDomini
19:46 AnnoDomini is now known as UndeadAnno
19:52 UndeadAnno is now known as YhhuTusehe
19:53 YhhuTusehe is now known as UndeadAnno
21:33 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has joined #code
21:33 mode/#code [+o Chalcedon] by ChanServ
22:12 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
22:12 mode/#code [+o ToxicFrog] by ChanServ
22:12 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Quit: Leaving]
22:16 You're now known as TheWatcher[T-2]
22:22 You're now known as TheWatcher[zZzZ]
23:30 ToxicFrog|W`rkn is now known as ToxicFrog
23:42 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Connection reset by peer]
23:46 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
23:47 mode/#code [+o Vornicus] by ChanServ
--- Log closed Thu Jun 21 00:00:34 2007
code logs -> 2007 -> Wed, 20 Jun 2007< code.20070619.log - code.20070621.log >