From owner-sam-users@nvg.ntnu.no Thu May 1 00:15:43 1997 Message-ID: <3367D052.510C@aqverpg.pb.hx> Date: Thu, 01 May 1997 00:06:42 +0100 From: Neville Young Organization: X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: sams users mail list Subject: HDD interface (an advert) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 2196 Lines: 72 Dear all, Please ignore this if you're not interested. It is an advert and some specs for the HDD as requested. HDD interface for the Sam Coup=E9. Package includes: Interface hardware: Scabby manual 3=BD" disk with HDOS and some ropey utils. cost =A360.00 + =A31.00 p&p in UK Extras: Disk interface cable =A39.95 P&P free when ordered with anything else Cased PSU =A325.00 P&P Free in UK. Will work with samdos but better with masterdos. Some utils require Masterbasic. IDE drive modes 1-4 supported. Max disk size (in theory) 2^27-1 Kb=20 uses 32K of sam memory for O/S HDD is device D7 but can be assigned to any other. Normal SAVE & LOAD syntax=20 erase, dir, mkdir, chdir, rmdir provided by CALL routines. Transfer rate depends on drive but is about 40% faster than floppy on read and about 20% slower on write. Typical dir search of 2500 entries per second. Slack space per file < 512 bytes. Not all drives will work due to differences in handling soft reset. Arrays do not always load. Must use SAVE OVER if file exists. 65500 max directories. No opentype files (yet) File timestamping uses last time clock updated by masterdos. Escaping during SCROLL on dir can cause heap corruptions and system hangs. disk defragmentation can take a long time Disk error handling is poor. imposes a heavy load on Z80 datalines so may cause probs if also used with other perfs eg 1meg + serial + two disks + HDD can be dodgy. depends on your Z80 tolerance. Order from: S D Software 70 Rainhall Road Barnoldswick Colne Lancs England BB8 6AB Payment with order in UK sterling. sorry I can no longer accept eurocheques. Allow 6 months for delivery as each unit is now built to order. OK for you I'll do it in 4 weeks. --=20 ---------------------------------------------------- | | |This site is levitated by superconducting magnets.| |--------------------------------------------------| |Home arivyyrl@aqverpg.pb.hx | |Work tou3exae@vozznvy.pbz | |http://www.ndirect.co.uk/~nevilley/homepage.htm | ---------------------------------------------------- From owner-sam-users@nvg.ntnu.no Thu May 1 09:41:38 1997 Date: Thu, 01 May 1997 04:37:11 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Newsservers - just checking Message-Id: <19970501083718Z49361-17857+1518@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 737 Lines: 20 Date: 1997-05-01 09:38 Priority: ------------------------------------------------------------------------------ From: "Robert van der Veeke" >To: "Sam users" >Subject: Newsservers - just checking >Date: Wed, 30 Apr 1997 20:46:40 +0200 > >Has anyone problems with their newsservers, I mean nothing is comming >through at the moment on all the newsgroups (binaries and non-binaries). >It started yesterday and since then nothing got through at all. And it is >not an local error or something like that, I even got mail from America >asking me what is going on. > They were very slow over last weekend but they have picked up now. eg. downloaded 1700 msgs on Tue night. hth Nev. From owner-sam-users@nvg.ntnu.no Thu May 1 09:48:34 1997 Date: Thu, 01 May 1997 04:43:26 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: .sna Speccy snapshots Message-Id: <19970501084340Z49361-17857+1523@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1242 Lines: 34 Date: 1997-05-01 09:42 Priority: ------------------------------------------------------------------------------ Subject: Re: .sna Speccy snapshots >To: sam-users@nvg.ntnu.no >Date: Wed, 30 Apr 1997 23:12:43 +0100 (BST) >Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) >From: Simon Cooke > >> On Wed, 30 Apr 1997, Simon Cooke wrote: >> >> > it /was/ my Computer Studies A/S project ... amazing how you can just >> > document something you wrote in your spare time and it gets you an A) >> > Simon >> >> Hang on, hang on.... I wanted to do something like that, but they wouldn't >> let me use anything which wasn't high-level programmed. So I had to write >> a project from scratch in turbo pascal, ugh. >> >> But I got an A also. > >*grins* I suppose it depends on how nice your computer teachers are... >peculiarly, they never batted an eyelid when I started throwing z80 >assembler at them. SAM Basic balked them for a minute or two though (that >was my GCSE one -- Disc Message Creator, FRED 11B, take a bow ;) ) > for what it's worth (nothing probably) I got my CEng from BCS for a thing done in Modula2 in my spare time. But then the BCS will let any one in (who can pay the subs) won't they. hth nev. From owner-sam-users@nvg.ntnu.no Thu May 1 10:25:37 1997 Date: Thu, 1 May 1997 10:10:29 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: pop goes the asic In-Reply-To: <24487.199704301036@holly.csv.warwick.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 651 Lines: 17 On Wed, 30 Apr 1997, Mr P R Walker wrote: > > > I bet Chris Pile could make good use of it... > > When does he get out, anyone know? He should stay in til he releases the next version of Pro-DOS that works with Hitech C and that cool ZAS assembler... -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 1 10:39:49 1997 Date: Thu, 1 May 1997 10:34:38 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: <19970430221256Z49285-17857+1360@sabre-wulf.nvg.ntnu.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1342 Lines: 30 On Wed, 30 Apr 1997, Simon Cooke wrote: > > On Wed, 30 Apr 1997, Simon Cooke wrote: > > > > > it /was/ my Computer Studies A/S project ... amazing how you can just > > > document something you wrote in your spare time and it gets you an A) > > > Simon > > > > Hang on, hang on.... I wanted to do something like that, but they wouldn't > > let me use anything which wasn't high-level programmed. So I had to write > > a project from scratch in turbo pascal, ugh. > > > > But I got an A also. > > *grins* I suppose it depends on how nice your computer teachers are... > peculiarly, they never batted an eyelid when I started throwing z80 > assembler at them. SAM Basic balked them for a minute or two though (that > was my GCSE one -- Disc Message Creator, FRED 11B, take a bow ;) ) I did a file encryption from an Pascal for my A-Level. Only got a C grade overall aswell.. Just goes to show that I should've done something on the SAM.. -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 1 10:43:09 1997 Date: Thu, 1 May 1997 10:39:17 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: HDD interface (an advert) In-Reply-To: <3367D052.510C@aqverpg.pb.hx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 867 Lines: 25 On Thu, 1 May 1997, Neville Young wrote: > cost =A360.00 + =A31.00 p&p in UK SIXTY QUID?!?!? Is it made out of 24 carat gold or something! :) -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: = | |BSc (Hons) Computer Science, Year 4 | Making computers behave = like | |De Montfort University, Leicester, England | they do in the movies. = | =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D From owner-sam-users@nvg.ntnu.no Thu May 1 10:59:51 1997 Date: Thu, 1 May 1997 10:51:43 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: <21555756508@smserver1.ulst.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1148 Lines: 36 On Tue, 29 Apr 1997, Gavin Smith wrote: > > I really need to upload my SNA-RUNner that I made upto nvg.... > > Yes please! Do do! Erm, though don't use the compressor of Satan, > Teledisk pleeeeeeease... > What do you want me to upload it as, then? It comes in a fair few small files. Here's the specs: Runs .SNA without any modification. Should work on any SAM with any DOS. Uses full 48K Spectrum ROM (the program makes the simple modifications as it is run) Runs with most games I've tried on it - Others put down as problem Snaps (whoever blames their code! :)) However: Doesn't yet allow further snaps to be taken. No keyboard remapping. Doesn't like the Kempston interface in games like Manic Miner (I hacked out the Kempston code) -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 1 11:04:35 1997 Date: Thu, 1 May 1997 11:01:11 +0100 (BST) From: Paul Walker X-Sender: csuan@holly To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 554 Lines: 13 On Thu, 1 May 1997, Justin Skists wrote: > I did a file encryption from an Pascal for my A-Level. Only got a C grade Hey - snap. Wasn't bad, either, to be honest. I already had most of the routines, but I think it was the object-oriented user interface that they liked... (point and click!) --------- Singers, shapers, dreamers, and makers -------------- Any unsolicited commercial emails received will be proofread and returned to source, along with a bill for 150UKP. Sending such emails to my account will be deemed acceptance of these terms. From imc Thu May 1 11:15:33 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 11:15:33 +0100 (BST) In-Reply-To: from "Justin Skists" at May 1, 97 10:51:43 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 396 Lines: 13 On Thu, 1 May 1997 10:51:43 +0100 (BST), Justin Skists said: > Doesn't yet allow further snaps to be taken. Load and run the "snapt.bin" program from the MGT spectrum emulator (on the system disk). > No keyboard remapping. Use imc's special 48K ROM with keyboard remapping. :-) (This doesn't work for games for obvious reasons, but at least the quote key works so you can type LOAD "".) imc From owner-sam-users@nvg.ntnu.no Thu May 1 12:06:18 1997 Date: Thu, 1 May 1997 11:53:40 +0100 From: D.M.Zambonini@cs.cf.ac.uk (D M Zambonini) Message-Id: <199705011053.LAA11921@peredur.cs.cf.ac.uk> To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-MD5: mBa+A4WrPekxZaUP98xS3A== Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 143 Lines: 6 You know, I'm sure I wrote some crappy BASIC program that converted between .SNA, .Z80 and .SNP. Anybody know what happened to it? DMZ --- From owner-sam-users@nvg.ntnu.no Thu May 1 12:39:53 1997 Date: Thu, 1 May 1997 12:17:07 +0100 (BST) From: Justin Skists X-Sender: c93js1@ibis.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: <9705011015.AA18836@gruffle.comlab.ox.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1762 Lines: 40 On Thu, 1 May 1997, Ian Collier wrote: > On Thu, 1 May 1997 10:51:43 +0100 (BST), Justin Skists said: > > Doesn't yet allow further snaps to be taken. > > Load and run the "snapt.bin" program from the MGT spectrum emulator (on the > system disk). I'm not sure that'll work with the way the program initiates. It's very simple. It basically copies the ROM into one 16K, the .sna into another 48K and then sorts out the registers as it pages the 64K into the main area. Essentially, in all purposes, it IS a Spectrum. The next intended update is to use the NMI interupt to jump to my own code in the spare part of the ROM to take it back to BASIC to produce a new .sna. > > No keyboard remapping. > > Use imc's special 48K ROM with keyboard remapping. :-) > (This doesn't work for games for obvious reasons, but at least the quote > key works so you can type LOAD "".) Sounds cool. But the program over-writes some code spare area in the ROM before it write protects it to do all the register re-loading. The aim was full (ha ha ha) Spectrum compatibility to run '.sna's. Oh, by the way. I'll probably be uploading the program on Tuesday. Is it allowable to upload the ROM with it? I'll probably include a few games that I've transferred to SAM with it (and the ever so slightly hacked Manic Miner). But what are the copyright implications with it? -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 1 12:39:53 1997 Date: Thu, 1 May 1997 12:32:34 +0100 (BST) From: Justin Skists X-Sender: c93js1@ibis.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: <3.0.1.32.19970430094055.00f6f280@nessie.mcc.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 643 Lines: 16 On Wed, 30 Apr 1997, Simon Cooke wrote: > (BTW: Colin McD -- would FRED send disks over the Atlantic for me if I'm > using my SAM over in the states?) The SAM will work in the States? Wouldn't there be a problem with video output or something? -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 1 12:39:54 1997 Date: Thu, 1 May 1997 12:30:50 +0100 (BST) From: Justin Skists X-Sender: c93js1@ibis.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: HDD Drive In-Reply-To: <199704301553.QAA23802@mail.enterprise.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 649 Lines: 14 On Wed, 30 Apr 1997 samsboss@mail.enterprise.net wrote: > Does nobods on this list bother to read Nev's adverts? I've trained my mind: When I see an advert, my mind switches into a passive mode until the said abomination is removed from my sight.. :) -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 1 13:11:03 1997 Message-Id: <3.0.1.32.19970501125050.009e2e28@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Thu, 01 May 1997 12:50:50 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: .sna Speccy snapshots In-Reply-To: References: <3.0.1.32.19970430094055.00f6f280@nessie.mcc.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 374 Lines: 17 At 12:32 PM 5/1/97 +0100, you wrote: >Status: > >On Wed, 30 Apr 1997, Simon Cooke wrote: > >> (BTW: Colin McD -- would FRED send disks over the Atlantic for me if I'm >> using my SAM over in the states?) > >The SAM will work in the States? Wouldn't there be a problem with video >output or something? Not with my monitor and a voltage transformer (I hope!) :) Simon From owner-sam-users@nvg.ntnu.no Thu May 1 15:07:16 1997 Message-ID: <97FDD73001F73000@c2gate.tcom.co.uk> Date: Thu, 1 May 1997 13:46:00 +0100 From: Dan Doore Organization: * To: sam-users@nvg.ntnu.no (Sam Users Mailing List) Subject: RE: .sna Speccy snapshots Importance: Normal MIME-Version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-disposition: inline Content-transfer-encoding: 7bit X-Mailer: Connect2-SMTP 4.20B.16 MHS/SMF to SMTP Gateway Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 327 Lines: 19 I have a copy lurking at home. Dan. ---------- From: D M Zambonini Sent: 01 May 1997 13:16 To: 'SAM-USER@SMTP ' Subject: Re: .sna Speccy snapshots You know, I'm sure I wrote some crappy BASIC program that converted between .SNA, .Z80 and .SNP. Anybody know what happened to it? DMZ --- From owner-sam-users@nvg.ntnu.no Thu May 1 15:07:16 1997 Date: Thu, 01 May 1997 09:49:17 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: HDD interface (an advert) Message-Id: <19970501135007Z49320-17857+1591@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 473 Lines: 22 Date: 1997-05-01 14:48 Priority: ------------------------------------------------------------------------------ Date: Thu, 1 May 1997 10:39:17 +0100 (BST) >From: Justin Skists >To: sam-users@nvg.ntnu.no >Subject: Re: HDD interface (an advert) > >On Thu, 1 May 1997, Neville Young wrote: > >> cost 60.00 + 1.00 p&p in UK > >SIXTY QUID?]?]? > >Is it made out of 24 carat gold or something] :) Bits of it yes :) Or you can build yer own. :) ;) ;) From owner-sam-users@nvg.ntnu.no Thu May 1 15:07:16 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 14:53:31 +0000 Subject: While we're on the subject of crappy BASIC programs... X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 168 Lines: 7 Right: I've found (at last) my QBASIC prog to convert SAM basic files (on a PC disk) to plain ASCII. Anyone tell me how (where? etc) to upload to nvg? (ta) -- dave From owner-sam-users@nvg.ntnu.no Thu May 1 15:33:18 1997 Subject: Re: While we're on the subject of crappy BASIC programs... To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 15:10:25 +0100 (BST) Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) In-Reply-To: from "Dave Hooper" at May 1, 97 02:53:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Simon Cooke Message-Id: <19970501141113Z49414-17857+1596@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 568 Lines: 18 > > Right: I've found (at last) my QBASIC prog to convert SAM basic files (on a PC > disk) to plain ASCII. > > Anyone tell me how (where? etc) to upload to nvg? (ta) Wanna email me a copy so that I can convert it to C? :) (Just learning again.. so I need lots of little projects to get my teeth into) Simon ps. After that... COMET 2 ASCII, PC edition ;) pps. To upload to NVG, ftp to ftp.nvg.ntnu.no, find the Sam-coupe directory, and stick it in incoming. Speaking of which, I couldn't upload yesterday (I've been having problems sticking Dan's files up) From owner-sam-users@nvg.ntnu.no Thu May 1 15:33:18 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 15:13:10 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: .sna Speccy snapshots In-reply-to: <199705011053.LAA11921@peredur.cs.cf.ac.uk> X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <28615EC28D9@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 751 Lines: 19 > You know, I'm sure I wrote some crappy BASIC program that converted > between .SNA, .Z80 and .SNP. Anybody know what happened to it? > I've got a copy. You haven't finished it though. There's a hello to Graham Goring in the REM's. I've had some sucess using it. Someone Emailed it to me. I think it was Dan Doore. I can't be sure though. It was almost 2 years ago now.. -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Thu May 1 15:33:19 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 15:15:12 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: .sna Speccy snapshots References: <3.0.1.32.19970430094055.00f6f280@nessie.mcc.ac.uk> In-reply-to: X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <2861EE1761A@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 670 Lines: 19 > > (BTW: Colin McD -- would FRED send disks over the Atlantic for me if I'm > > using my SAM over in the states?) > > The SAM will work in the States? Wouldn't there be a problem with video > output or something? Well he'll obviously get a modified TV or use a monitor or something, won't he.. :) -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Thu May 1 15:33:19 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 15:15:49 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: .sna Speccy snapshots In-reply-to: <3.0.1.32.19970501125050.009e2e28@nessie.mcc.ac.uk> References: X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <28621C30BF3@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 614 Lines: 21 > >The SAM will work in the States? Wouldn't there be a problem with video > >output or something? > > Not with my monitor and a voltage transformer (I hope!) > > :) > I really should have read that before I replied, shouldn't I.. Oh well. -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Thu May 1 15:33:20 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 15:21:36 +0000 Subject: Re: While we're on the subject of crappy BASIC programs... X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 273 Lines: 11 > Wanna email me a copy so that I can convert it to C? :) > > (Just learning again.. so I need lots of little projects to get my teeth > into) I'd do it myself only I have no C compiler (only djgpp and its temperamental. Oh, and I hate it) NEW, it's on it's way. -- d From owner-sam-users@nvg.ntnu.no Thu May 1 15:33:20 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 15:28:18 +0000 Subject: Re: While we're on the subject of crappy BASIC programs... X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 271 Lines: 9 > pps. To upload to NVG, ftp to ftp.nvg.ntnu.no, find the Sam-coupe > directory, and stick it in incoming. Speaking of which, I couldn't upload > yesterday (I've been having problems sticking Dan's files up) .. no luck (error: destination drive is full or sommat) From owner-sam-users@nvg.ntnu.no Thu May 1 16:45:23 1997 From: Justin Skists Message-Id: <199705011511.QAA29779@dunlin.cms.dmu.ac.uk> Subject: Re: While we're on the subject of crappy BASIC programs... To: sam-users@nvg.ntnu.no Date: Thu, 01 May 1997 16:10:58 BST In-Reply-To: ; from "Dave Hooper" at May 1, 97 3:21 pm X-Mailer: Elm [revision: 109.19] Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 423 Lines: 17 > > > Wanna email me a copy so that I can convert it to C? :) > > > > (Just learning again.. so I need lots of little projects to get my teeth > > into) > > I'd do it myself only I have no C compiler (only djgpp and its > temperamental. Oh, and I hate it) How can you not like DJGPP???? It's excellent. Well, as long as you know how to use the UNIX version..... -- Justin Skists (Kind of missing .signature file.) From owner-sam-users@nvg.ntnu.no Thu May 1 17:01:12 1997 Date: Wed, 30 Apr 1997 14:42:18 -0400 (EDT) From: BillRitman@aol.com Message-ID: <970430144217_483025077@emout05.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Samboss (was: Re: the show) Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 794 Lines: 27 In a message dated 28/04/97 12:39:22, you write: >BillRitman@aol.com writes: > >> In a message dated 25/04/97 13:37:21, you write: >> >> >Bloody AOL users >> >:) >> >> Do you mind? I am on AOL as well. >> Why do people always pick on us? >> > >Not you in particular it's just that AOL users have in the past been >very abusive, and ignored netiquette left right and centre 'coz AOL made >no attempt to let their users know about this sort of stuff, now they've >all been tarred with the same brush. Unfair I know, but hey shit >happens, besides as long as your nice and fluffy I'm sure no-one round >here will hold it *seriously* against you ... > >Lee. Oh good, nice to hear that Lee. And us AOL users are really nice chaps you know. We even gave up eating babies last year Bill. From owner-sam-users@nvg.ntnu.no Thu May 1 17:01:12 1997 Date: Thu, 1 May 1997 11:49:23 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970501114735_-1300015691@emout09.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: I'm Back Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 375 Lines: 18 In a message dated 30/04/97 19:42:09, you write: >> Now ... who else have you told about Enterprise, dave? :) > >Nearly got a job with Enterprise...being on the Isle of Man and all >that... > >But I'm hardly likely to be Samsboss am I? I mean, agreeing with >Brenchley and all that just isn't my style...! :) >> >> Simon >> > >Johnna Pig Teare Now Now Johnna :) Bob. From owner-sam-users@nvg.ntnu.no Thu May 1 17:01:13 1997 Date: Thu, 1 May 1997 11:54:34 -0400 (EDT) From: BillRitman@aol.com Message-ID: <970501115204_874084262@emout15.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Not One Message? Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 209 Lines: 6 Where is everyone today - are you all out voting? I've logged on this afternoon because I had to be home for a delivery and AOL tells me there has been no mail - not even a single spam - what goes on? Bill. From owner-sam-users@nvg.ntnu.no Thu May 1 17:01:13 1997 Subject: Re: Samboss (was: Re: the show) To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 16:59:30 +0100 (BST) Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) In-Reply-To: <970430144217_483025077@emout05.mail.aol.com> from "BillRitman@aol.com" at Apr 30, 97 02:42:18 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Simon Cooke Message-Id: <19970501160002Z49431-17857+1644@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 319 Lines: 10 > Oh good, nice to hear that Lee. And us AOL users are really nice chaps you > know. We even gave up eating babies last year > Bill. There's one thing I can't stand, and that's a reformed baby eater. Go on, eat your babies. We won't be offended. In nature, lots of animals eat their young. So why not us? Simon From owner-sam-users@nvg.ntnu.no Thu May 1 17:08:55 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 17:03:19 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Not One Message? In-reply-to: <970501115204_874084262@emout15.mail.aol.com> X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <287ECA54697@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 672 Lines: 19 > Where is everyone today - are you all out voting? > > I've logged on this afternoon because I had to be home for a delivery and AOL > tells me there has been no mail - not even a single spam - what goes on? > > Bill. There's been one or today, but I do believe today qualifies as a 'Slow mail day'. -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Thu May 1 17:08:55 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 17:07:48 +0000 Subject: Re: While we're on the subject of crappy BASIC programs... X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 766 Lines: 21 > > I'd do it myself only I have no C compiler (only djgpp and its > > temperamental. Oh, and I hate it) > > How can you not like DJGPP???? It's excellent. Well, as long as you know how to > use the UNIX version..... I know how to use it. . . the graphics libraries that mine came with were generally buggy and difficult to use, so I just got disillusioned with the whole affair... I'm planning to get Visual C++5 VOTE NOW: good or bad plan? --dave-- ADVERTISEMENT---- | Holy Cheesus! Cheese flavored potato balls snack! From the makers of Schmilk - the surprising alternative to milk! | ------------+ eat my face: http://www.geocities.com/Area51/5636/ drink my beer: http://yi.com/home/HooperDave/ From owner-sam-users@nvg.ntnu.no Thu May 1 17:15:39 1997 Subject: Assembler blues To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 17:10:00 +0100 (BST) Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Simon Cooke Message-Id: <19970501161022Z49431-17857+1649@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 704 Lines: 18 Hi everyone, Well, I've started writing the assembler, and it looks like it's going to be a long and arduous task :) I've given up on the developer studio for now, namely because I don't know enough C++ yet... I think I've been able to learn enough C in the last two days to be able to write the assembler though... (It's not just the fact that it's C++ for windows, mind you... it's all the windows API stuff as well... nasty, I can tell you). You never know, with a bit of luck I *MIGHT* just be able to get a version of SimCoupe running under DOS. Anyone got any experience with VC++? Will compiling a program under NT as a Console application allow it to work quite happily under DOS? Si From owner-sam-users@nvg.ntnu.no Thu May 1 17:24:22 1997 Message-Id: <3.0.1.32.19970501171834.00f8ccf8@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Thu, 01 May 1997 17:18:34 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: While we're on the subject of crappy BASIC programs... In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 164 Lines: 9 At 05:07 PM 5/1/97 +0000, you wrote: >I'm planning to get Visual C++5 > >VOTE NOW: good or bad plan? GOOD... but I don't know if it can compile for DOS... Simon From owner-sam-users@nvg.ntnu.no Thu May 1 18:14:13 1997 Date: Wed, 30 Apr 1997 14:36:30 -0400 (EDT) From: BillRitman@aol.com Message-ID: <970430143628_-1633837885@emout02.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: TeleDisk Tips. Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 960 Lines: 33 In a message dated 30/04/97 15:01:08, you write: >>> You have something against Teledisk? >> >> Apart from the fact that every time I try and use it, it either >> corrupts my disk, doesn't recognise a floppy drive at all, laughs at >> me, crashes my computer and doesn't seem necessary anyway, when pkzip >> could do the job fine, then nope, I love it :) >> > >This may just be a local 'feature' but... > >When I try and use Teledisk under MS_DOS It virtually ALWAYS crashes. >I once decided to try it in a MS_DOS window under Windoze 3.1, and found >it worked perfectly! > >In actual fact, It has always worked within the first 3 attempts at using >it under windoze. > > > -Give it a try! > >Numbly. This could be the same problem that I had last year with a program that read/wrote Amstrad PCW disks. It turned out that the program was written to run on older (slower) PCs. AFAIK running under windows slows things down quite a bit. HTH. Bill. From owner-sam-users@nvg.ntnu.no Thu May 1 19:18:06 1997 From: Johnna Teare Organization: University of Central Lancashire To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 18:56:48 GMT+0 Subject: Re: QDOS X-mailer: Pegasus Mail for Windows (v2.33) Message-ID: <52D650764E@mail-gw.uclan.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1266 Lines: 35 > > > Ummmmmmmm... which version of ROM do you have? > > > > 3.0 I think. Everything else works fine (although the bizzarre DOS on > > one of those AJ Demo Sample disks reported the same error also - > > think you wrote that too altough I can't remember) > > > > PRINT PEEK 15 returns 30 anyway... > > Hmmm very odd... and yes, I did write the odd DOS on the AJ Demo Sample > Disks -- MESG (or was it MESSY?) DOS... quite nice - stored the DOS in > the top 4 tracks of the disk (80-83), making it only take up 1 sector of > DOS-accessible space. Mind you, some drives didn't like it, which is why > I stopped doing it. So for QDOS do i just copy the file on FRED onto the first file on a new disk and boot? Might be my drive...;( > > I wrote a later version which stuck the screen in the top 4 tracks as > well, and faded it in, waited for a key, and then faded it out again :) > Doubt I've still got the routines on disk that did it though... (although > it /was/ my Computer Studies A/S project ... amazing how you can just > document something you wrote in your spare time and it gets you an A) > Clever sod! > Simon > Johnna Pig Teare (JohnnaPig@deathsdoor.com) JohnnaPig OnLine (www.yi.com/home/TeareJohnna) "They call me Mad The Swine." From owner-sam-users@nvg.ntnu.no Thu May 1 20:55:19 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 20:24:30 +0000 Subject: Re: TeleDisk Tips. X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 66 Lines: 7 > HTH. I've never worked this one out... clues anyone? -- dave From owner-sam-users@nvg.ntnu.no Thu May 1 20:55:19 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 20:25:24 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 275 Lines: 10 > You never know, with a bit of luck I *MIGHT* just be able to get a > version of SimCoupe running under DOS. Anyone got any experience with > VC++? Will compiling a program under NT as a Console application allow it > to work quite happily under DOS? Believe so. -- From owner-sam-users@nvg.ntnu.no Thu May 1 23:08:24 1997 Message-ID: <33691269.1DB@aqverpg.pb.hx> Date: Thu, 01 May 1997 23:00:10 +0100 From: Neville Young Organization: X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: TeleDisk Tips. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 580 Lines: 20 Dave Hooper wrote: > > > HTH. > > I've never worked this one out... clues anyone? > -- > dave I don't know what it means either. Hope That Helps :) -- ---------------------------------------------------- | | |This site is levitated by superconducting magnets.| |--------------------------------------------------| |Home arivyyrl@aqverpg.pb.hx | |Work tou3exae@vozznvy.pbz | |http://www.ndirect.co.uk/~nevilley/homepage.htm | ---------------------------------------------------- From owner-sam-users@nvg.ntnu.no Thu May 1 23:35:29 1997 Date: Thu, 1 May 1997 23:16:37 +0100 (BST) From: Si Owen To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: <19970501161022Z49431-17857+1649@sabre-wulf.nvg.ntnu.no> Message-ID: Organisation: Wordcraft International Ltd. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1512 Lines: 35 On Thu, 1 May 1997, Simon Cooke wrote: > I've given up on the developer studio for now, namely because I don't > know enough C++ yet... I think I've been able to learn enough C in the > last two days to be able to write the assembler though... Go for C, it's more widely accepted. C++ has some small speed overheads but is much nicer once you get into it - I'll never use plain C again! > (It's not just the fact that it's C++ for windows, mind you... it's all > the windows API stuff as well... nasty, I can tell you). It's got better after moving to 32-bit - no segmentation worries. > You never know, with a bit of luck I *MIGHT* just be able to get a > version of SimCoupe running under DOS. Anyone got any experience with > VC++? Will compiling a program under NT as a Console application allow it > to work quite happily under DOS? Unfortunately it won't run under DOS. Win32 console apps are the closest you'll come to Unix though. I've managed to tweak MicroEmacs to work quite happily. I'd like a good assembler for Windows/DOS - let me know if there's anything I can do to help... Si /------------------------------------+----------------------------------------\ | Si Owen | Home: si@obobo.demon.co.uk | | Wordcraft International Ltd, UK | Work: sowen@wordcraft.co.uk | | Fax: +44-1332-295525 | WWW: www.obobo.demon.co.uk | \------------------------------------+----------------------------------------/ From owner-sam-users@nvg.ntnu.no Fri May 2 10:07:03 1997 Date: Fri, 2 May 1997 09:31:26 +0200 From: ft@edh.ericsson.se (Frode Tenneboe) Message-Id: <9705020731.AA19851@asmal.edh-net> To: sam-users@nvg.ntnu.no Subject: Re: While we're on the subject of crappy BASIC programs... X-Sun-Charset: US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 404 Lines: 12 > > pps. To upload to NVG, ftp to ftp.nvg.ntnu.no, find the Sam-coupe > > directory, and stick it in incoming. Speaking of which, I couldn't upload > > yesterday (I've been having problems sticking Dan's files up) > > > .. no luck > (error: destination drive is full or sommat) Filesystem 1024-blocks Used Available Capacity ftp:/pub/ftp 1553479 1204153 269046 82% -Frode From owner-sam-users@nvg.ntnu.no Fri May 2 10:07:03 1997 Date: Fri, 02 May 1997 04:50:08 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FW: Samboss (was: Re: the show) Message-Id: <19970502085519Z49368-17857+1940@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 425 Lines: 17 Date: 1997-05-02 09:49 Priority: ------------------------------------------------------------------------------ To: sam-users@nvg.ntnu.no Date: Thu, 1 May 1997 16:59:30 +0100 (BST) > Oh good, nice to hear that Lee. And us AOL users are really nice chaps you > know. We even gave up eating babies last year > Bill. What you /don't/ eat babies ] and I thought you would fit in here. I guess I'm wrong again. nev :) From owner-sam-users@nvg.ntnu.no Fri May 2 10:58:17 1997 Message-Id: <3.0.1.32.19970502092114.009e78b8@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Fri, 02 May 1997 09:21:14 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: QDOS In-Reply-To: <52D650764E@mail-gw.uclan.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 679 Lines: 23 At 06:56 PM 5/1/97 GMT+0, you wrote: >So for QDOS do i just copy the file on FRED onto the first file on a >new disk and boot? Yep that's it... >Might be my drive...;( Ummm... I don't think it can be -- QDOS doesn't do anything special... >> >> I wrote a later version which stuck the screen in the top 4 tracks as >> well, and faded it in, waited for a key, and then faded it out again :) >> Doubt I've still got the routines on disk that did it though... (although >> it /was/ my Computer Studies A/S project ... amazing how you can just >> document something you wrote in your spare time and it gets you an A) > >Clever sod! Nah... it's all just packaging. Simon From owner-sam-users@nvg.ntnu.no Fri May 2 10:58:17 1997 Message-Id: <3.0.1.32.19970502092606.00f78be0@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Fri, 02 May 1997 09:26:06 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: Assembler blues In-Reply-To: References: <19970501161022Z49431-17857+1649@sabre-wulf.nvg.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 829 Lines: 33 At 11:16 PM 5/1/97 +0100, you wrote: >I'd like a good assembler for Windows/DOS - let me know if there's anything >I can do to help... Wellllll.... do you know anything about symbol tables? I mean, is this a good way to allocate space for a symbol? struct SYMBOL { struct SYMBOL *previous; struct SYMBOL *next; int flags; char *name; long address; // or whatever } ... Allocate new symbol: symbolptr = (struct SYMBOL *) malloc (sizeof struct SYMBOL); newname = (char *) malloc ((sizeof char)*symbol_length); symbolptr->name = newname; etc etc? (I'm wondering about performance hits because of doing large numbers of mallocs... is there any "good" way of doing this kind of thing? [and I know a hash table will be involved eventually, but I'm not all that worried about it at the moment]). Simon From owner-sam-users@nvg.ntnu.no Fri May 2 10:58:19 1997 Date: Fri, 2 May 1997 05:43:13 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970502054312_-1198909273@emout06.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 593 Lines: 25 In a message dated 01/05/97 16:43:57, you write: >At 12:32 PM 5/1/97 +0100, you wrote: >>Status: >> >>On Wed, 30 Apr 1997, Simon Cooke wrote: >> >>> (BTW: Colin McD -- would FRED send disks over the Atlantic for me if I'm >>> using my SAM over in the states?) >> >>The SAM will work in the States? Wouldn't there be a problem with video >>output or something? > >Not with my monitor and a voltage transformer (I hope!) > >:) > >Simon Older monitors used the mains frequency to define their time-base. AFAIK most modern ones do not, so you should not have problems (I hope). HTH. Bob. From owner-sam-users@nvg.ntnu.no Fri May 2 10:58:20 1997 Date: Fri, 2 May 1997 05:43:15 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970502054314_-797434457@emout08.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: HDD interface (an advert) Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 800 Lines: 27 In a message dated 01/05/97 17:33:49, you write: >On Thu, 1 May 1997, Neville Young wrote: > >> cost #60.00 + #1.00 p&p in UK > >SIXTY QUID?!?!? > >Is it made out of 24 carat gold or something! :) > > >-- No, the gold plated version is a little more expensive at #125. Would Sir like one or two, and do you want them gift wrapped? Sorry, but why the shock a the price? Next thing you will be telling me is that you have never bought a book costing #399 - its all down to ecconomics you know. And yes, I did once buy a book at #399. It was one of a short run hence the price, and it was for the company I worked for at the time. My most expensive books run out at about #60 to #70 - although being a tight fisted git - I often wait for the sales :) Bob. (who, as many know, has LOTS of books). From owner-sam-users@nvg.ntnu.no Fri May 2 10:58:21 1997 Date: Fri, 2 May 1997 05:43:14 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970502054313_52956711@emout07.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Not One Message? Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 403 Lines: 14 In a message dated 01/05/97 17:33:26, you write: >Where is everyone today - are you all out voting? > >I've logged on this afternoon because I had to be home for a delivery and AOL >tells me there has been no mail - not even a single spam - what goes on? > >Bill. I think it was just AOL, I tried this morning and got nought. But now (9pm) there is lots and your message is well down the list. Bob. From owner-sam-users@nvg.ntnu.no Fri May 2 11:08:43 1997 Message-Id: From: ee31ag@ee.surrey.ac.uk (Andrew M Gale) Subject: Re: FW: Samboss (was: Re: the show) To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 10:03:45 +0100 (BST) In-Reply-To: <19970502085519Z49368-17857+1940@sabre-wulf.nvg.ntnu.no> from "YOUNG, Neville / IT Life" at May 2, 97 04:50:08 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 109 Lines: 3 Don't want to get political, but no-one collected the binbags this morning. And he hasn't kissed hands yet! From owner-sam-users@nvg.ntnu.no Fri May 2 11:18:57 1997 From: Mr P R Walker Message-Id: <3830.199705021008@lily.csv.warwick.ac.uk> Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 11:08:55 +0100 (BST) In-Reply-To: from "Si Owen" at May 1, 97 11:16:37 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 371 Lines: 12 > Go for C, it's more widely accepted. C++ has some small speed overheads > but is much nicer once you get into it - I'll never use plain C again! D'you want to run that by me again? :) > I'd like a good assembler for Windows/DOS - let me know if there's anything Turbo Assembler (from Borland) is extremely nice, but I don't think it's what you meant somehow. Paul From owner-sam-users@nvg.ntnu.no Fri May 2 11:18:57 1997 From: Mr P R Walker Message-Id: <4458.199705021014@lily.csv.warwick.ac.uk> Subject: Re: While we're on the subject of crappy BASIC programs... To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 11:14:31 +0100 (BST) In-Reply-To: <19970501141113Z49414-17857+1596@sabre-wulf.nvg.ntnu.no> from "Simon Cooke" at May 1, 97 03:10:25 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 179 Lines: 8 > Wanna email me a copy so that I can convert it to C? :) Can chuck you some of my pascal code, if you really want to convert things? :) Be warned, it's probably not pretty. From owner-sam-users@nvg.ntnu.no Fri May 2 11:18:57 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 11:14:39 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 401 Lines: 14 > Wellllll.... do you know anything about symbol tables? I mean, is this a > good way to allocate space for a symbol? > > struct SYMBOL { > struct SYMBOL *previous; > struct SYMBOL *next; > int flags; > char *name; > long address; // or whatever > } > well, 'technically', you don't need the previous pointer, if you already have a next pointer. other than that, yeh, i guess. From owner-sam-users@nvg.ntnu.no Fri May 2 11:25:08 1997 Date: Fri, 2 May 1997 11:20:24 +0100 (BST) From: Paul Walker X-Sender: csuan@lily To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: <19970501161022Z49431-17857+1649@sabre-wulf.nvg.ntnu.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 631 Lines: 20 On Thu, 1 May 1997, Simon Cooke wrote: > Well, I've started writing the assembler, and it looks like it's going to > be a long and arduous task :) Assembling to what...? Sam format? > (It's not just the fact that it's C++ for windows, mind you... it's all > the windows API stuff as well... nasty, I can tell you). 'm confused. What do you need the API for? Paul --------- Singers, shapers, dreamers, and makers -------------- Any unsolicited commercial emails received will be proofread and returned to source, along with a bill for 150UKP. Sending such emails to my account will be deemed acceptance of these terms. From owner-sam-users@nvg.ntnu.no Fri May 2 12:02:34 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 11:34:10 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 302 Lines: 10 > 'm confused. What do you need the API for? > It's a SAM compiler (ie compiles TO SAM z80) written for a PC running WIn 3.1/95/NT (hence the need for using APIs) --dave-- memory like, you know, one of those things you drain spaghetti in face! beer! leg! (I can't be bothered, you know the rest) From owner-sam-users@nvg.ntnu.no Fri May 2 12:03:00 1997 Date: Fri, 2 May 1997 11:46:13 +0100 (BST) From: Justin Skists X-Sender: c93js1@auk.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: HDD interface (an advert) In-Reply-To: <970502054314_-797434457@emout08.mail.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1647 Lines: 52 On Fri, 2 May 1997 BrenchleyR@aol.com wrote: > In a message dated 01/05/97 17:33:49, you write: > > >On Thu, 1 May 1997, Neville Young wrote: > > > >> cost #60.00 + #1.00 p&p in UK > > > >SIXTY QUID?!?!? > > > >Is it made out of 24 carat gold or something! :) > > > > > >-- > > No, the gold plated version is a little more expensive at #125. Would Sir > like one or two, and do you want them gift wrapped? I detect some nasty sarcasm type flame here... (Calm down Justin. Calm down.) > Sorry, but why the shock a the price? Coz I can't afford that yet. And I was expecting it to be more like 25-40 quid. But that's just me. > Next thing you will be telling me is > that you have never bought a book costing #399 - its all down to ecconomics > you know. Why didn't you wait til it came out in Paperback! :) > And yes, I did once buy a book at #399. It was one of a short run hence the > price, and it was for the company I worked for at the time. I hope you got the Company to pay for it. > My most > expensive books run out at about #60 to #70 - although being a tight fisted > git - I often wait for the sales :) The most expensive book I got was 40 quid. A nice computer graphics book. Anyone implemented PHIGS for the SAM yet? :) -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Fri May 2 12:47:06 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 11:56:03 +0000 Subject: Re: HDD interface (an advert) X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 272 Lines: 11 > The most expensive book I got was 40 quid. A nice computer graphics book. > Anyone implemented PHIGS for the SAM yet? :) I know the book you mean - good innit. Mine cost a shade less at 29. It was bashed. Working on PHIGS.. Radiosity algorithms next ... ;) -- d From imc Fri May 2 12:56:27 1997 Subject: Re: Something useful to us all. To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 12:56:27 +0100 (BST) In-Reply-To: <199704211804.TAA16052@mail.enterprise.net> from "Dave Whitmore" at Apr 21, 97 07:01:39 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 426 Lines: 9 On 21 Apr 1997 19:01:39, Dave Whitmore said: > Something that will read the entire contents of each side of a disk into RAM > (like MasterDOS's: READ AT 1,0,1,32000,800) and then saves the file to a > nice clean formatted PC disk as "SIDE1.BIN" CODE length = 409600. This of course is already possible on Linux and SunOS, and might be extendable to other PC OSs. :-) (Yes I know you were talking about a Sam program). imc From owner-sam-users@nvg.ntnu.no Fri May 2 13:22:11 1997 Message-Id: From: ee31ag@ee.surrey.ac.uk (Andrew M Gale) Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 11:16:12 +0100 (BST) In-Reply-To: <970502054312_-1198909273@emout06.mail.aol.com> from "BrenchleyR@aol.com" at May 2, 97 05:43:13 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 324 Lines: 13 > >Not with my monitor and a voltage transformer (I hope!) > > > >:) > > > >Simon > And I'd be tempted to get a 110v-5v PSU to power the SAM rather than a 110v-240v-SAMPSU-5v configuration. Unless you can alter the primary winding set up on the sam PSU. If you're using th monitor then you shouldn't need the 12v line... From owner-sam-users@nvg.ntnu.no Fri May 2 13:22:11 1997 Date: Fri, 2 May 1997 12:13:37 +0100 (BST) From: Paul Walker X-Sender: csuan@lily To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 406 Lines: 12 On Fri, 2 May 1997, Dave Hooper wrote: > It's a SAM compiler (ie compiles TO SAM z80) written for a PC running > WIn 3.1/95/NT (hence the need for using APIs) Ah. Don't suppose there's going to be a DOS version as well? And, if anyone's interested, I can thoroughly recommand Borland C++ for Windows - compiles to DOS as well I think. --------- Singers, shapers, dreamers, and makers -------------- From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:46 1997 To: sam-users@nvg.ntnu.no Subject: Re: New Project from the Cookie Monster ;) References: X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 02 May 1997 13:05:11 +0100 In-Reply-To: "Dave Hooper"'s message of Wed, 30 Apr 1997 15:14:57 +0000 Message-ID: X-Mailer: Gnus v5.4.49/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 465 Lines: 19 "Dave Hooper" <9531427@EIGG.SMS.ED.AC.UK> writes: [Comment discussion] I go for -- Comment Very Ada Or on the other hand, just write code _without_ comments, it'll make life hell when someone gets round to trying to modify your code ... Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:46 1997 To: sam-users@nvg.ntnu.no Subject: Re: the show References: <381D4D2EA5@mail-gw.uclan.ac.uk> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 02 May 1997 13:08:55 +0100 In-Reply-To: Johnna Teare's message of Wed, 30 Apr 1997 16:17:34 GMT+0 Message-ID: X-Mailer: Gnus v5.4.49/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 763 Lines: 22 Johnna Teare writes: > > BillRitman@aol.com writes: > > > > > p.s. The list may have been quiet when I first logged on but the last few > > > days have really taken off. Nice (I think). > > > > That'll be all us bloody students coming back off our long, long > > holidays ;) > > To even longer holidays at uni ;) Yep, the sun's out, I've got the shorts on, just about recovered from yesterday's makeshift-barbecue, and drink session enough to stomach the lures of the uni bars once more. God its a hard life ... Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:47 1997 To: sam-users@nvg.ntnu.no Subject: Re: HDD interface (an advert) References: <19970501135007Z49320-17857+1591@sabre-wulf.nvg.ntnu.no> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 02 May 1997 13:11:07 +0100 In-Reply-To: "YOUNG, Neville / IT Life"'s message of Thu, 01 May 1997 09:49:17 EDT Message-ID: X-Mailer: Gnus v5.4.49/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 640 Lines: 24 "YOUNG, Neville / IT Life" writes: > >On Thu, 1 May 1997, Neville Young wrote: > > > >> cost 60.00 + 1.00 p&p in UK > > > >SIXTY QUID?]?]? > > > >Is it made out of 24 carat gold or something] :) > > Bits of it yes :) > > Or you can build yer own. :) ;) ;) Next you'll be telling me that its madness to pay #500 for a gold-plated record deck ... Lee. {Wondering where his student loan's gone!} -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:48 1997 To: sam-users@nvg.ntnu.no Subject: Re: E-Tracker References: <26E04061482@sahara.cms.dmu.ac.uk> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 02 May 1997 13:07:45 +0100 In-Reply-To: "James R Curry"'s message of Wed, 30 Apr 1997 15:09:06 GMT Message-ID: X-Mailer: Gnus v5.4.49/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 806 Lines: 23 "James R Curry" writes: > It's something that I always forget, and lose the piece of paper on > which I've written it down - > > When a compiled E-Tracker tune is playing, at which bytes is the > volume data for use in Volume Bars stored? > > I've got it written down somewhere.. I just don't know where. > > Thanks to whoever answers in advance, Erm, I _think_ it's about 32779, but that's probably nowhere near, I'm sure it's got 7's and 9's in though (This of course being if your code is at 32768 ...) Lee. (So long since I've written a volume-bar demo ...) -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:48 1997 To: sam-users@nvg.ntnu.no Subject: Re: Not One Message? References: <970501115204_874084262@emout15.mail.aol.com> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 02 May 1997 13:13:19 +0100 In-Reply-To: BillRitman@aol.com's message of Thu, 1 May 1997 11:54:34 -0400 (EDT) Message-ID: X-Mailer: Gnus v5.4.49/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 553 Lines: 17 BillRitman@aol.com writes: > Where is everyone today - are you all out voting? > > I've logged on this afternoon because I had to be home for a delivery and AOL > tells me there has been no mail - not even a single spam - what goes on? > Sorry, you must be mistaken, this is _SAM_ users not _SPAM_ users ... Lee. (It's the sun ...) -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:50 1997 X-Lotus-FromDomain: C&L NL @ C&L INT @ C&L INT EXTERNAL @ WORLDCOM @ OUTBOUND From: Stefan Drissen To: sam-users@nvg.ntnu.no Message-ID: <8625648B.0043A851.00@internet-502.interliant.com> Date: Thu, 1 May 1997 22:12:53 +0200 Subject: Re: Teledisk Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 2165 Lines: 59 >> > You have something against Teledisk? >> Apart from the fact that every time I try and use it, it either >> corrupts my disk, doesn't recognise a floppy drive at all, laughs at > >These are very strange... do you have an odd floppy drive or something? >I've not had any problems with mine, and that's very mix'n'match. I have to admit to having problems with Teledisk on "my" Toshiba laptop, it will write images without any hassles whatsoever. Reading a disk image is a real pain though. Since this Toshiba doesn't like SAM disks and I can't create the nice "FRED-like" disks can someONE send me a Teledisked formatted SAM disk so that I can create my own. >> me, crashes my computer and doesn't seem necessary anyway, when pkzip >> could do the job fine, then nope, I love it :) > >Ah, but PKZip can't cope with odd-sectored disks, and doesn't copy anything >that it doesn't recognise (IYSWIM), whereas Teledisk will basically copy >almost anything you throw at it. :) Ah, but your SAM can handle (not the lack of crippling word) anything SAM-wise you throw at it! What's basically needed is a nice little SAM program that will make a compact disc image file and copy it directly (to save hassles) onto a (two) PC disc(s). Stefan (even though it should be obvious with the nice disclaimer) -- **************************************** This document should only be read by those persons to whom it is addressed and is not intended to be relied upon by any person without subsequent written confirmation of its contents. Accordingly, Coopers & Lybrand disclaim all responsibility and accept no liability (including in negligence) for the consequences for any person acting, or refraining from acting, on such information prior to the receipt by those persons of subsequent written confirmation. If you have received this E-mail message in error, please notify us immediately by telephone. Please also destroy and delete the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited. **************************************** From owner-sam-users@nvg.ntnu.no Fri May 2 13:35:55 1997 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 02 May 1997 13:16:48 +0100 In-Reply-To: "Dave Hooper"'s message of Fri, 2 May 1997 11:14:39 +0000 Message-ID: X-Mailer: Gnus v5.4.49/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1116 Lines: 31 "Dave Hooper" <9531427@EIGG.SMS.ED.AC.UK> writes: > > Wellllll.... do you know anything about symbol tables? I mean, is this a > > good way to allocate space for a symbol? > > > > struct SYMBOL { > > struct SYMBOL *previous; > > struct SYMBOL *next; > > int flags; > > char *name; > > long address; // or whatever > > } > > > > well, 'technically', you don't need the previous pointer, if you > already have a next pointer. other than that, yeh, i guess. Yep, but what do you do when it comes to deleting nodes. You have to keep a trailing pointer to keep track of the previous record so's you can point around the node you're deleting. It depends on which you prefer really. Personally I'm with Dave, I'd just keep a trailing pointer, after all it's easier on memory if you're gonna have loads of symbols ... Lee. (Can just about remember doing his Compilers coursework!) -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Fri May 2 14:25:05 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 14:16:10 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: E-Tracker References: "James R Curry"'s message of Wed, 30 Apr 1997 15:09:06 GMT In-reply-to: X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <29D237921AB@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 701 Lines: 23 > Erm, I _think_ it's about 32779, but that's probably nowhere near, I'm > sure it's got 7's and 9's in though (This of course being if your code > is at 32768 ...) 32779... I have 32779, do I have any advances on 32779?? SOLD! Or something.. I'll make a note of that - if anyone knows for sure, please do tell me! Thanks Lee. -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Fri May 2 14:31:20 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 14:17:22 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: HDD interface (an advert) References: "YOUNG, Neville / IT Life"'s message of Thu, 01 May 1997 09:49:17 EDT In-reply-to: X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <29D2922407C@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 530 Lines: 17 > "YOUNG, Neville / IT Life" writes: > > > >On Thu, 1 May 1997, Neville Young wrote: > > > > > >> cost > Er, am I missing something here? -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Fri May 2 15:11:38 1997 Date: Fri, 02 May 1997 09:46:04 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FW: Samboss (was: Re: the show) Message-Id: <19970502134635Z49160-17857+2045@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 477 Lines: 20 Date: 1997-05-02 14:45 Priority: ------------------------------------------------------------------------------ From: ee31ag@ee.surrey.ac.uk (Andrew M Gale) >Subject: Re: FW: Samboss (was: Re: the show) >To: sam-users@nvg.ntnu.no >Date: Fri, 2 May 1997 10:03:45 +0100 (BST) > >Don't want to get political, but no-one collected >the binbags this morning. And he hasn't kissed hands yet] > What do you expect. Change the goverment and the workers will be revolting. :o nev From owner-sam-users@nvg.ntnu.no Fri May 2 15:37:31 1997 Date: Fri, 2 May 1997 15:24:59 +0100 (BST) From: Andrew Collier X-Sender: asc25@indigo.csi.cam.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: <970502054312_-1198909273@emout06.mail.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 969 Lines: 21 On Fri, 2 May 1997 BrenchleyR@aol.com wrote: > Older monitors used the mains frequency to define their time-base. AFAIK most > modern ones do not, so you should not have problems (I hope). Surely the time base comes as part of the signal? If your monitor used the mains then it could never work with the Sam because Sam's frame interrupt isn't quite exactly 50.000 Hz. So Simon's monitor should be okay in America provided it can cope with a change in power. Andrew +-------------------------------------+------------------------------+ | Second Law Of Thermodynamics: | Andrew Collier, 1A NatSci | | If you think things are in a | email asc25@hermes.cam.ac.uk | | mess now, just you wait.... | Selwyn College, Cambridge | +-------------------------------------+------------------------------+ | See Gloucester show photos at http://brain.sel.cam.ac.uk/~asc25 | +--------------------------------------------------------------------+ From owner-sam-users@nvg.ntnu.no Fri May 2 16:16:58 1997 Date: Fri, 02 May 1997 11:01:02 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: .sna Speccy snapshots Message-Id: <19970502150131Z49206-17857+2082@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 895 Lines: 25 Date: 1997-05-02 16:00 Priority: ------------------------------------------------------------------------------ MSG:FROM: I7207445--IBMMAIL TO: NYOUNG1 --RLLAN1 02/05/97 15:32:28 >Date: Fri, 2 May 1997 15:24:59 +0100 (BST) >From: Andrew Collier >To: sam-users@nvg.ntnu.no >Subject: Re: .sna Speccy snapshots > >On Fri, 2 May 1997 BrenchleyR@aol.com wrote: > >> Older monitors used the mains frequency to define their time-base. AFAIK >most >> modern ones do not, so you should not have problems (I hope). > >Surely the time base comes as part of the signal? If your monitor used the >mains then it could never work with the Sam because Sam's frame interrupt >isn't quite exactly 50.000 Hz. So Simon's monitor should be okay in >America provided it can cope with a change in power. > IIRC it was only the very old 405 line televisions that did this. nev. From owner-sam-users@nvg.ntnu.no Fri May 2 16:16:58 1997 From: Johnna Teare Organization: University of Central Lancashire To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 16:08:23 GMT+0 Subject: Re: FW: Samboss (was: Re: the show) X-mailer: Pegasus Mail for Windows (v2.33) Message-ID: <67F9B96E82@mail-gw.uclan.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 321 Lines: 11 > Don't want to get political, but no-one collected > the binbags this morning. And he hasn't kissed hands yet! We're all doomed (well, you lot are - The Isle of Man has its own government!) > > Johnna Pig Teare (JohnnaPig@deathsdoor.com) JohnnaPig OnLine (www.yi.com/home/TeareJohnna) "They call me Mad The Swine." From owner-sam-users@nvg.ntnu.no Fri May 2 16:24:25 1997 From: Gavin Smith Organization: University of Ulster To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 16:30:25 GMT Subject: Re: FW: Samboss (was: Re: the show) X-mailer: Pegasus Mail for Windows (v2.23) Message-ID: <2F5E943AD3@smserver1.ulst.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 511 Lines: 11 > > Don't want to get political, but no-one collected > > the binbags this morning. And he hasn't kissed hands yet! > > We're all doomed (well, you lot are - The Isle of Man has its own > government!) Northern Ireland results are coming through at the moment, and thankfully the Unionists did quite nicely so far *big happy smile* In West Belfast, the Natural Party got two votes - one presumably from the candidate herself, and the other from my girlfriend :) Yeah, a vote well cast there darling *ahem* From owner-sam-users@nvg.ntnu.no Fri May 2 18:33:16 1997 Date: Fri, 2 May 1997 18:25:08 +0100 (BST) From: Tim Paveley To: Sam Users Mailing List Subject: Where to buy a Sam Coupe? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 740 Lines: 23 Ok, a couple of dead simple questions..... I know someone who wants to buy a Sam. 1) Who is the best person to point them at? 2) Assuming Westcoast, what is the address? 3) How much should it cost? Tim ....@/ < now waiting for one sensible answer, and no doubt 12 more along the lines of so who are westcoast really then.....> [ Oh yes, aside to Dr Collier ;) ] [ ] [ Is REXX easy to pick up? I might have a summer placement ] [ converting a load of REXX to C.... ] [ ] .........................................................................@/ Unc - Tim Paveley - http://dplinux.sund.ac.uk/~unc/ Staff of the Monochrome BBS - http://www.mono.org/ Owner of a Sam Coupe - http://www.mono.org/~unc/Coupe/ From owner-sam-users@nvg.ntnu.no Fri May 2 18:45:09 1997 Date: Fri, 2 May 1997 18:33:55 +0100 (BST) From: Dave To: Sam Users Mailing List Subject: Re: Where to buy a Sam Coupe? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1211 Lines: 38 I thought you had to order them through FORMAT these days... ------------------------------------------------------------------------------- Dave Fulton (D.A.Fulton@durham.ac.uk) Trevelyan College, University of Durham. http://www.dur.ac.uk/~d60m3c/index.html PGP public key available on request. ------------------------------------------------------------------------------- On Fri, 2 May 1997, Tim Paveley wrote: > Ok, a couple of dead simple questions..... > > I know someone who wants to buy a Sam. > > 1) Who is the best person to point them at? > 2) Assuming Westcoast, what is the address? > 3) How much should it cost? > > Tim ....@/ > > < now waiting for one sensible answer, and no doubt 12 more along the > lines of so who are westcoast really then.....> > > [ Oh yes, aside to Dr Collier ;) ] > [ ] > [ Is REXX easy to pick up? I might have a summer placement ] > [ converting a load of REXX to C.... ] > [ ] > > .........................................................................@/ > Unc - Tim Paveley - http://dplinux.sund.ac.uk/~unc/ > Staff of the Monochrome BBS - http://www.mono.org/ > Owner of a Sam Coupe - http://www.mono.org/~unc/Coupe/ > From owner-sam-users@nvg.ntnu.no Fri May 2 18:55:21 1997 From: Gavin Smith Organization: University of Ulster To: sam-users@nvg.ntnu.no Date: Fri, 2 May 1997 18:58:24 GMT Subject: Re: Where to buy a Sam Coupe? X-mailer: Pegasus Mail for Windows (v2.23) Message-ID: <31D5E74FB9@smserver1.ulst.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 431 Lines: 18 > Ok, a couple of dead simple questions..... > > I know someone who wants to buy a Sam. Hurrah! :) > 1) Who is the best person to point them at? Probably Format (who erm, handle West Coasts orders) - best thing to do would be to email Bob (formatpub@aol.com) > 3) How much should it cost? New Sam Elite with printer port built in should be 200 quid. Reconditioned Sams are about 120 or something I think. > > Tim ....@/ From owner-sam-users@nvg.ntnu.no Sat May 3 12:58:09 1997 Date: Sat, 3 May 1997 07:52:27 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970503075226_-332846342@emout19.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 644 Lines: 19 In a message dated 02/05/97 16:16:55, you write: >>On Fri, 2 May 1997 BrenchleyR@aol.com wrote: >> >>> Older monitors used the mains frequency to define their time-base. AFAIK >>most >>> modern ones do not, so you should not have problems (I hope). >> >>Surely the time base comes as part of the signal? If your monitor used the >>mains then it could never work with the Sam because Sam's frame interrupt >>isn't quite exactly 50.000 Hz. So Simon's monitor should be okay in >>America provided it can cope with a change in power. >> >IIRC it was only the very old 405 line televisions that did this. >nev. God! I am showing my age.... Bob. From owner-sam-users@nvg.ntnu.no Sat May 3 13:15:21 1997 Date: Sat, 3 May 1997 08:06:41 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970503080641_1221533099@emout12.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Where to buy a Sam Coupe? Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1208 Lines: 43 In a message dated 02/05/97 17:34:06, you write: >Ok, a couple of dead simple questions..... Well, I'll try for dead simple answers them :) > >I know someone who wants to buy a Sam. Super, fantastic. > >1) Who is the best person to point them at? West Coast Mail Order. >2) Assuming Westcoast, what is the address? c/o Format Publications. >3) How much should it cost? Sam Elite, single drive, 512K = #199.95 Delivery currently averaging 6 weeks (memory is getting difficult again). Recon Sam Coupe, 512K, fitted with new-style drive, new keyboard and new manuals = #139.95 Send as soon as one becomes available, waiting list currently about 6 weeks. Recon Sam with slim-line drive - 90 day warranty, 512K, new keyboard and manuals. #119.95 Very rare. At the moment there are two people on the waiting list and several machines could arrive next week, or it could be next year, we have no way of knowing. With both recon machines the cases may have a few scratches - but its not bad - certainly not things people would look at and say "tatty". So, he takes his choice. If he is serious, then go for the Elite. If he's a games player then I would recommend the recon with new drive. HTH. Bob. From owner-sam-users@nvg.ntnu.no Sat May 3 13:51:24 1997 Date: Sat, 3 May 1997 13:44:06 +0100 (BST) From: Andrew Collier X-Sender: asc25@indigo.csi.cam.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Where to buy a Sam Coupe? In-Reply-To: <970503080641_1221533099@emout12.mail.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 940 Lines: 21 On Sat, 3 May 1997 BrenchleyR@aol.com wrote: > So, he takes his choice. If he is serious, then go for the Elite. If he's a > games player then I would recommend the recon with new drive. Even a less serious user might want a printer port, to use the SamDac for 8-bit stereo sound sample output. Unless he uses the money he's saved by not buying a the Elite, and putting it towards a Quazar soundcard instead. He takes his choice. Andrew +-------------------------------------+------------------------------+ | Second Law Of Thermodynamics: | Andrew Collier, 1A NatSci | | If you think things are in a | email asc25@hermes.cam.ac.uk | | mess now, just you wait.... | Selwyn College, Cambridge | +-------------------------------------+------------------------------+ | See Gloucester show photos at http://brain.sel.cam.ac.uk/~asc25 | +--------------------------------------------------------------------+ From owner-sam-users@nvg.ntnu.no Sat May 3 16:56:51 1997 Date: Sat, 3 May 1997 11:51:41 -0400 (EDT) From: BillRitman@aol.com Message-ID: <970503115140_120188195@emout19.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 659 Lines: 18 In a message dated 02/05/97 16:17:11, you write: >> > Don't want to get political, but no-one collected >> > the binbags this morning. And he hasn't kissed hands yet! >> >> We're all doomed (well, you lot are - The Isle of Man has its own >> government!) > >Northern Ireland results are coming through at the moment, and >thankfully the Unionists did quite nicely so far *big happy smile* >In West Belfast, the Natural Party got two votes - one presumably >from the candidate herself, and the other from my girlfriend :) >Yeah, a vote well cast there darling *ahem* Don't I know it. Exeter has now gone Labour :( If only the LibDem had got in. Bill. From owner-sam-users@nvg.ntnu.no Sat May 3 17:04:15 1997 Date: Sat, 3 May 1997 11:53:54 -0400 (EDT) From: BillRitman@aol.com Message-ID: <970503115352_1886685733@emout16.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Not One Message? Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 458 Lines: 21 In a message dated 02/05/97 13:09:35, you write: > >BillRitman@aol.com writes: > >> Where is everyone today - are you all out voting? >> >> I've logged on this afternoon because I had to be home for a delivery and >AOL >> tells me there has been no mail - not even a single spam - what goes on? >> > >Sorry, you must be mistaken, this is _SAM_ users not _SPAM_ users ... > >Lee. >(It's the sun ...) Try the Sport instead then Bill. Mail reader. From owner-sam-users@nvg.ntnu.no Sat May 3 17:04:15 1997 Date: Sat, 3 May 1997 11:55:50 -0400 (EDT) From: BillRitman@aol.com Message-ID: <970503115549_-1132551128@emout17.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: HDD interface (an advert) Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 629 Lines: 27 In a message dated 02/05/97 13:09:34, you write: >"YOUNG, Neville / IT Life" writes: > >> >On Thu, 1 May 1997, Neville Young wrote: >> > >> >> cost 60.00 + 1.00 p&p in UK >> > >> >SIXTY QUID?]?]? >> > >> >Is it made out of 24 carat gold or something] :) >> >> Bits of it yes :) >> >> Or you can build yer own. :) ;) ;) > >Next you'll be telling me that its madness to pay #500 for a gold-plated >record deck ... > >Lee. >{Wondering where his student loan's gone!} Never dream of it, at least you got a record deck which shows you have some taste. Bill. Now where did I put that gramaphone record? From imc Sun May 4 14:03:17 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 14:03:17 +0100 (BST) In-Reply-To: from "Andrew Collier" at Apr 29, 97 11:09:32 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 312 Lines: 9 On Tue, 29 Apr 1997 23:09:32 +0100 (BST), Andrew Collier said: > I think Ian wrote a program like this, which converted a .sna file into a > genuine snapshot file. It may not have been a Sam program - I think it > worked on his Unix system and saved the snapshot file directly to Sam > disk. Yes it does. imc From imc Sun May 4 14:05:28 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 14:05:28 +0100 (BST) In-Reply-To: <2215A77706A@smserver1.ulst.ac.uk> from "Gavin Smith" at Apr 30, 97 09:40:36 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 623 Lines: 14 On Wed, 30 Apr 1997 09:40:36 GMT, Gavin Smith said: > > I think Ian wrote a program like this, which converted a .sna file into a > > genuine snapshot file. It may not have been a Sam program - I think it > > worked on his Unix system and saved the snapshot file directly to Sam > > disk. > Ian! Can you send it to me please as an attachment? (And if you tell > me its on NVG and compressed with Teledisk, I'll cry). It's on NVG and compressed with Teledisk. Not. It's compressed with gzip because it's a Unix program and because I don't have access to teledisk. It won't work on a PC unless it's running Linux. imc From imc Sun May 4 14:08:20 1997 Subject: Re: The long running DL debate To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 14:08:20 +0100 (BST) In-Reply-To: <199704301553.QAA23807@mail.enterprise.net> from "samsboss@mail.enterprise.net" at Apr 30, 97 03:51:46 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 309 Lines: 9 On Wed, 30 Apr 1997 15:51:46 +0000, samsboss@mail.enterprise.net said: > Notice that it is: persona@hands-on.ltd.uk (David Ledbury) > Strange how he claims to have nothing to do with Persona but it is > always him that writes. That's rich coming from Mr "Samsboss@uk.pipeline.com (Bob Brenchley)"... imc From imc Sun May 4 14:15:06 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 14:15:06 +0100 (BST) In-Reply-To: from "Justin Skists" at May 1, 97 12:17:07 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 2098 Lines: 44 On Thu, 1 May 1997 12:17:07 +0100 (BST), Justin Skists said: > On Thu, 1 May 1997, Ian Collier wrote: > > Load and run the "snapt.bin" program from the MGT spectrum emulator (on the > > system disk). > I'm not sure that'll work with the way the program initiates. It's very > simple. It basically copies the ROM into one 16K, the .sna into another > 48K and then sorts out the registers as it pages the 64K into the main > area. Essentially, in all purposes, it IS a Spectrum. The snapt.bin program just loads a bit of code into the NMI routine to do the snapshot stuff. It works fine on a plain Spectrum ROM - and, I think, on my modified Spectrum ROM which uses the "spare" area for various things. > > Use imc's special 48K ROM with keyboard remapping. :-) > > (This doesn't work for games for obvious reasons, but at least the quote > > key works so you can type LOAD "".) > Sounds cool. But the program over-writes some code spare area in the ROM > before it write protects it to do all the register re-loading. I can't remember where I put the keyboard mapping stuff in the ROM; if I remember correctly it overwrites the ZX printer routines which you can't use on the Sam anyway. It doesn't interfere with all the extra stuff in my modified Spectrum ROM. > The aim was full (ha ha ha) Spectrum compatibility to run '.sna's. Andrew will be able to tell you whether there are any games that won't run with the key-mapped, snapshotted version of the Spectrum ROM, but I think that number is rather small. > Oh, by the way. I'll probably be uploading the program on Tuesday. Is it > allowable to upload the ROM with it? I'll probably include a few games > that I've transferred to SAM with it (and the ever so slightly hacked Manic > Miner). But what are the copyright implications with it? Spectrum ROM is apparently OK to copy for use with emulators providing you don't change it. There are, however, several modified ROMs floating around including mine. To be pedantic you would supply the unaltered ROM together with a program which applies the changes, I suppose. imc From imc Sun May 4 14:37:13 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 14:37:13 +0100 (BST) In-Reply-To: <3.0.1.32.19970502092606.00f78be0@nessie.mcc.ac.uk> from "Simon Cooke" at May 2, 97 09:26:06 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1709 Lines: 50 On Fri, 02 May 1997 09:26:06 +0100, Simon Cooke said: > Wellllll.... do you know anything about symbol tables? I mean, is this a > good way to allocate space for a symbol? > struct SYMBOL { > struct SYMBOL *previous; > struct SYMBOL *next; > int flags; > char *name; > long address; // or whatever > } > symbolptr = (struct SYMBOL *) malloc (sizeof struct SYMBOL); > newname = (char *) malloc ((sizeof char)*symbol_length); > symbolptr->name = newname; > (I'm wondering about performance hits because of doing large numbers of > mallocs... is there any "good" way of doing this kind of thing? [and I know > a hash table will be involved eventually, but I'm not all that worried > about it at the moment]). Well, it's an OK way, I suppose. A slow way, yes. If you are going to be using a hash table I wonder why you are going ahead with this, but anyway there are two things you could do to improve the speed (apart from writing a version of malloc which is optimised for this type of use - I know someone who did that but don't know the details). Firstly, there is a common hack which goes like this: struct SYMBOL { struct SYMBOL *previous; struct SYMBOL *next; int flags; long address; char name[1]; } symbolptr = (struct SYMBOL *) malloc (sizeof (struct SYMBOL) + symbol_length); strcpy(symbolptr->name,symbol_name); This avoids one malloc call. And incidentally, sizeof (char) is 1 by definition... And note that your symbol_length must include the NUL character while mine doesn't. Secondly, a binary tree is hardly any more work than a simple linked list and would make symbol searches rather faster. imc (PS did we do the "May the 4th" joke yet? (-: ) From owner-sam-users@nvg.ntnu.no Sun May 4 15:47:01 1997 Date: Fri, 2 May 1997 18:35:25 +0100 (BST) From: Si Owen To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: Message-ID: Organisation: Wordcraft International Ltd. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 699 Lines: 16 On Fri, 2 May 1997, Paul Walker wrote: > And, if anyone's interested, I can thoroughly recommand Borland C++ for > Windows - compiles to DOS as well I think. If you stick with 16-bit compilers like VC++ 1.52, you can compile for normal DOS too. No reason why it can't be compiled for both! Si /------------------------------------+----------------------------------------\ | Si Owen | Home: si@obobo.demon.co.uk | | Wordcraft International Ltd, UK | Work: sowen@wordcraft.co.uk | | Fax: +44-1332-295525 | WWW: www.obobo.demon.co.uk | \------------------------------------+----------------------------------------/ From owner-sam-users@nvg.ntnu.no Sun May 4 15:47:02 1997 Date: Fri, 2 May 1997 18:38:22 +0100 (BST) From: Si Owen To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: Message-ID: Organisation: Wordcraft International Ltd. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1225 Lines: 25 On 2 May 1997, Uncle Bulgaria wrote: > Yep, but what do you do when it comes to deleting nodes. You have to > keep a trailing pointer to keep track of the previous record so's you > can point around the node you're deleting. It depends on which you > prefer really. Personally I'm with Dave, I'd just keep a trailing > pointer, after all it's easier on memory if you're gonna have loads of > symbols ... Depends on how many symbols you're likely to have in a project. It'd be better to go straight for hashing, and have smaller chains for each bucket when there are multiple hits to the same bucket. Already got all the code to do it (in C++, but can convert to C if necessary). Will the symbol table need scopes? (new scope temporarily hiding outer symbols of the same name - as in local variables hiding globals) Si /------------------------------------+----------------------------------------\ | Si Owen | Home: si@obobo.demon.co.uk | | Wordcraft International Ltd, UK | Work: sowen@wordcraft.co.uk | | Fax: +44-1332-295525 | WWW: www.obobo.demon.co.uk | \------------------------------------+----------------------------------------/ From owner-sam-users@nvg.ntnu.no Sun May 4 15:47:37 1997 From: Mr P R Walker Message-Id: <16057.199705041315@lily.csv.warwick.ac.uk> Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 14:15:00 +0100 (BST) In-Reply-To: from "Si Owen" at May 2, 97 06:35:25 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 287 Lines: 8 > If you stick with 16-bit compilers like VC++ 1.52, you can compile for normal > DOS too. No reason why it can't be compiled for both! True, I guess. It's just that they don't have VC++ on here, while they do have Borland C++ (plus Win version), so that's the one I picked. :) Paul From imc Sun May 4 16:53:52 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 16:53:52 +0100 (BST) In-Reply-To: <970502054312_-1198909273@emout06.mail.aol.com> from "BrenchleyR@aol.com" at May 2, 97 05:43:13 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 371 Lines: 9 On Fri, 2 May 1997 05:43:13 -0400 (EDT), BrenchleyR@aol.com said: > Older monitors used the mains frequency to define their time-base. AFAIK most > modern ones do not, so you should not have problems (I hope). As far as I know, no monitor or TV has ever used the mains to define its time-base. The very first TV cameras did but we must be talking 50 years ago... imc From imc Sun May 4 16:55:21 1997 Subject: Re: Where to buy a Sam Coupe? To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 16:55:21 +0100 (BST) In-Reply-To: from "Tim Paveley" at May 2, 97 06:25:08 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 307 Lines: 9 On Fri, 2 May 1997 18:25:08 +0100 (BST), Tim Paveley said: > [ Oh yes, aside to Dr Collier ;) ] > [ ] > [ Is REXX easy to pick up? I might have a summer placement ] > [ converting a load of REXX to C.... ] Pretty much. See http://www.comlab.ox.ac.uk/oucl/users/ian.collier/Rexx/ . imc From owner-sam-users@nvg.ntnu.no Sun May 4 21:03:44 1997 Message-Id: From: ee31ag@ee.surrey.ac.uk (Andrew M Gale) Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Sun, 4 May 1997 20:55:14 +0100 (BST) In-Reply-To: <9705041553.AA10528@gruffle.comlab.ox.ac.uk> from "Ian Collier" at May 4, 97 04:53:52 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 515 Lines: 14 > On Fri, 2 May 1997 05:43:13 -0400 (EDT), BrenchleyR@aol.com said: > > Older monitors used the mains frequency to define their time-base. AFAIK most > > modern ones do not, so you should not have problems (I hope). > > As far as I know, no monitor or TV has ever used the mains to define its > time-base. The very first TV cameras did but we must be talking 50 years > ago... > The mechanical Baird televisors did, I think. But at 30-lines, the resolution may be just a touch too low, even for the SAM! Andy From owner-sam-users@nvg.ntnu.no Mon May 5 09:58:53 1997 Message-Id: From: mat@pec.torun.pl (Maciej J. Woloszyk) Subject: Re: E-Tracker To: sam-users@nvg.ntnu.no Date: Mon, 5 May 1997 09:04:17 +0200 (MET DST) In-Reply-To: <26E04061482@sahara.cms.dmu.ac.uk> from "James R Curry" at Apr 30, 97 03:09:06 pm X-Mailer: ELM [version 2.4 PL25 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 719 Lines: 22 Hi, > > It's something that I always forget, and lose the piece of paper on > which I've written it down - > > When a compiled E-Tracker tune is playing, at which bytes is the > volume data for use in Volume Bars stored? > Well... It's very hard to remember... It was sooo much time since I wrote this program, but I'll try to get the info I have and I'll send a message. I'm also working on ETracker manual (more technical than the one sold with the package) which will be available soon (I hope ;-) from The Official ETracker Home Page (http://eris.phys.uni.torun.pl/ETracker/). > I've got it written down somewhere.. I just don't know where. > > Thanks to whoever answers in advance, Bye, Mat of ESI. From imc Mon May 5 10:22:02 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Mon, 5 May 1997 10:22:02 +0100 (BST) In-Reply-To: from "Andrew M Gale" at May 4, 97 08:55:14 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 257 Lines: 9 On Sun, 4 May 1997 20:55:14 +0100 (BST), Andrew M Gale said: > > As far as I know, no monitor or TV has ever used the mains to define its > > time-base. > The mechanical Baird televisors did, I think. Yes, I remembered that just after I posted. :-) imc From owner-sam-users@nvg.ntnu.no Mon May 5 12:19:43 1997 Date: Mon, 5 May 1997 11:19:30 +0100 (BST) From: Paul Walker X-Sender: csuan@lily To: sam-users@nvg.ntnu.no Subject: Re: Teledisk In-Reply-To: <8625648B.0043A851.00@internet-502.interliant.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 926 Lines: 24 On Thu, 1 May 1997, Stefan Drissen wrote: > is a real pain though. Since this Toshiba doesn't like SAM disks and > I can't create the nice "FRED-like" disks can someONE send me a > Teledisked formatted SAM disk so that I can create my own. What "Fred-like" disks? > Ah, but your SAM can handle (not the lack of crippling word) anything > SAM-wise you throw at it! Yep, but it has problems with other disks ;) AnaDisk, for a PC example, copied not only a SAM format disk, but a "protected" sam-format disk, without the programmers even knowing of sam's existence. > What's basically needed is a nice little SAM > program that will make a compact disc image file and copy it directly > (to save hassles) onto a (two) PC disc(s). Agreed - OTOH, not only do I not have my Sam with me, but I don't have MS-DOS access routines at the moment. You do.... ;) --------- Singers, shapers, dreamers, and makers -------------- From owner-sam-users@nvg.ntnu.no Mon May 5 16:18:15 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Mon, 5 May 1997 13:54:51 +0100 (BST) Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) In-Reply-To: <9705041337.AA09934@gruffle.comlab.ox.ac.uk> from "Ian Collier" at May 4, 97 02:37:13 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Simon Cooke Message-Id: <19970505125542Z49155-17239+73@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 6603 Lines: 293 > Secondly, a binary tree is hardly any more work than a simple linked list and > would make symbol searches rather faster. > > imc Right... I've implemented something somewhat like that now... see what you think: /* Header file for symbol.c */ #ifndef ___BOAI_SYMBOL_H #define ___BOAI_SYMBOL_H #define IS_MACRO 'm' #define IS_DEFINED 'e' #define NOT_RESOLVED 'r' #define SYMBOL_T struct symboltree #define SYMBOL struct symbol struct symbol { char flags; // flags indicating what type of symbol this is char *file; // file in which symbol occurs int line; // line at which this symbol occurs }; struct symboltree { char matchchar; // character this node handles struct symboltree *nextlevel; // pointer to the tree for this // node (ie. the one for this matchchar, 1 level deeper) struct symboltree *nextnode; // pointer to the next node at this level struct symbol *symbolnode; // pointer to the symbol at this node (or NULL // if no symbol is defined at this node). }; SYMBOL_T *createNode(char nodechar); SYMBOL *lookup(char *symboltomatch); // returns NULL if no such symbol found int insertSymbol(char *symbol, char *file, int flags, int line); SYMBOL *createSymbol(char *file, int flags, int line); void freeSymbolTree(SYMBOL_T *symboltree); void recurseDump(SYMBOL_T *symtree, char *curptr, char *ptrbase); void dumpSymTable(SYMBOL_T *symtree); #endif ------ /* Assembler symbol handling */ #include #include #include "symbol.h" #include "boaiass.h" SYMBOL_T *symbolbase = NULL; // pointer to the base of the symbol tree... /* Looks up a symbol in the symbol table. Returns NULL for no match, * or a pointer to the symbol if there is a match. */ SYMBOL *lookup(char *symboltomatch) { SYMBOL_T *symptr; symptr=symbolbase; if (symptr==NULL) return NULL; // no symbol tree means no symbols. while (*symboltomatch!=0) // while not at end of symbol string { // if we don't match this node, move to the next one if (symptr->matchchar!=*symboltomatch) { // if there's no more nodes, return a NULL pointer // (no more symbol possiblities) if (symptr->nextnode==NULL) { return NULL; } else { symptr = symptr->nextnode; // point to next node to check continue; // carry on for the next iteration } } // have we reached the end of the symbol to check? if (*(symboltomatch+1)=='0') return symptr->symbolnode; // if there is no symbol defined at this point, then it'll // return NULL. // advance to the next match level, and step on a character // in the symbol to match. symptr = symptr->nextlevel; symboltomatch++; } return NULL; // not matched at all -- return null. } /* insert a symbol into the symbol tree */ int insertSymbol(char *symbol,char *file, int flags, int line) { SYMBOL_T *symptr; // handle special case -- i.e., tree not created yet if (symbolbase==NULL) { if ((symbolbase=createNode(*symbol))==NULL) return CANT_CREATE_SYM; } symptr = symbolbase; while (*symbol!=0) { // if can't find a match, and there are no more nodes to check, better create one... if ((symptr->matchchar!=*symbol)&&(symptr->nextnode==NULL)) { SYMBOL_T *sptrtemp; sptrtemp = createNode(*symbol); symptr->nextnode=sptrtemp; if (sptrtemp==NULL) return CANT_CREATE_SYM; symptr = sptrtemp; continue; } if ((symptr->matchchar!=*symbol)&&(symptr->nextnode!=NULL)) { symptr=symptr->nextnode; continue; } // if this is the last character, better create a symbol and point to it... if ((symptr->matchchar==*symbol)&&(*(symbol+1)==0)) { symptr->symbolnode = createSymbol(file, flags, line); if (symptr->symbolnode==NULL) return CANT_CREATE_SYM; else return 0; } else if ((symptr->matchchar==*symbol)&&((*symbol+1)!=0)) { if (symptr->nextlevel!=NULL) { symptr=symptr->nextlevel; symbol++; continue; } else { SYMBOL_T *sptrtemp; symbol++; sptrtemp = createNode(*symbol); symptr->nextlevel=sptrtemp; if (sptrtemp==NULL) return CANT_CREATE_SYM; symptr=sptrtemp; continue; } } } } SYMBOL_T *createNode(char nodechar) { SYMBOL_T *temp; temp = (SYMBOL_T *)malloc(sizeof (SYMBOL_T)); if (temp==NULL) { printf ("ERROR: Can't allocate space for new symbol tree structure\n"); } else { temp->matchchar=nodechar; temp->nextnode=NULL; temp->nextlevel=NULL; temp->symbolnode=NULL; } return temp; } SYMBOL *createSymbol(char *file, int flags, int line) { SYMBOL *temp; temp = (SYMBOL *)malloc(sizeof (SYMBOL)); if (temp==NULL) { printf ("ERROR: Can't allocate space for new symbol structure\n"); } else { temp->file = file; temp->flags = flags; temp->line = line; } return temp; } /* Recursively free up the Symbol Tree's allocated memory... */ void freeSymbolTree(SYMBOL_T *symboltree) { while ((symboltree->nextlevel!=NULL)||(symboltree->nextnode!=NULL)||(symboltree->symbolnode!=NULL)) { if (symboltree->nextlevel!=NULL) { freeSymbolTree(symboltree->nextlevel); symboltree->nextlevel=NULL; } if (symboltree->symbolnode!=NULL) { free(symboltree->symbolnode); symboltree->symbolnode=NULL; } if (symboltree->nextnode!=NULL) { SYMBOL_T *temp; temp = symboltree->nextnode; free(symboltree); symboltree=temp; } } } int totalsym; void dumpSymTable(SYMBOL_T *symtree) { char buildspace[MAXSYMLEN+1]; buildspace[MAXSYMLEN]=0; // ensure that we won't ever have problems with this... printf("SYMBOL NAME - FILE - TYPE - LINENO\n" \ "----------------------------------\n"); // 0 1 2 3 4 5 6 7 // 01234567890123456789012345678901234567890123456789012345678901234567890 totalsym=0; recurseDump(symtree,buildspace,buildspace); printf("----------------------------------\n\n" \ "Total No' of Symbols: %i\n",totalsym); } /* Dump all symbols */ void recurseDump(SYMBOL_T *symtree, char *curptr, char *ptrbase) { *curptr=symtree->matchchar; if (symtree->symbolnode!=NULL) { SYMBOL *symb; symb=symtree->symbolnode; *(curptr+1)=0; printf("%s - %s - %c - %i\n",ptrbase,symb->file,symb->flags,symb->line); totalsym++; // increment no' of symbols present return; } if (symtree->nextlevel!=NULL) { recurseDump(symtree->nextlevel,(curptr+1),ptrbase); } if (symtree->nextnode!=NULL) { recurseDump(symtree->nextnode,curptr,ptrbase); } } > (PS did we do the "May the 4th" joke yet? (-: ) I don't think so :) May the 5th be with you! From owner-sam-users@nvg.ntnu.no Mon May 5 16:18:15 1997 X-Lotus-FromDomain: C&L NL @ C&L INT @ C&L INT EXTERNAL @ WORLDCOM @ OUTBOUND From: Stefan Drissen To: sam-users@nvg.ntnu.no Message-ID: <8625648E.004CA335.00@Internet-504.interliant.com> Date: Mon, 5 May 1997 15:31:05 +0200 Subject: Re: Teledisk Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 2044 Lines: 57 >On Thu, 1 May 1997, Stefan Drissen wrote: > >> is a real pain though. Since this Toshiba doesn't like SAM disks and >> I can't create the nice "FRED-like" disks can someONE send me a >> Teledisked formatted SAM disk so that I can create my own. > >What "Fred-like" disks? Some of the FRED disks (issues 60 to 70 approximately) were duplicated in a bit of a funny way - on a real SAM the discs would read VERY slowly due the funny shearing (or something). These discs do have ONE advantage - my PC will read them no problems at all! >Yep, but it has problems with other disks ;) AnaDisk, for a PC example, >copied not only a SAM format disk, but a "protected" sam-format disk, >without the programmers even knowing of sam's existence. As did Teledisk... >> What's basically needed is a nice little SAM >> program that will make a compact disc image file and copy it directly >> (to save hassles) onto a (two) PC disc(s). > >Agreed - OTOH, not only do I not have my Sam with me, but I don't have >MS-DOS access routines at the moment. You do.... ;) Ahem, I never got down to doing the write routines... not that I can imagine them being too much of a hassle - just the time... -- **************************************** This document should only be read by those persons to whom it is addressed and is not intended to be relied upon by any person without subsequent written confirmation of its contents. Accordingly, Coopers & Lybrand disclaim all responsibility and accept no liability (including in negligence) for the consequences for any person acting, or refraining from acting, on such information prior to the receipt by those persons of subsequent written confirmation. If you have received this E-mail message in error, please notify us immediately by telephone. Please also destroy and delete the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited. **************************************** From owner-sam-users@nvg.ntnu.no Mon May 5 23:27:58 1997 Message-ID: <336E5B3D.2C10@aqverpg.pb.hx> Date: Mon, 05 May 1997 23:12:14 +0100 From: Neville Young Organization: X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: <19970505125542Z49155-17239+73@sabre-wulf.nvg.ntnu.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 4059 Lines: 121 Simon Cooke wrote: > /* Header file for symbol.c > */ > > #ifndef ___BOAI_SYMBOL_H > #define ___BOAI_SYMBOL_H > > #define IS_MACRO 'm' > #define IS_DEFINED 'e' > #define NOT_RESOLVED 'r' > #define SYMBOL_T struct symboltree > #define SYMBOL struct symbol > > struct symbol { > char flags; // flags indicating what type of symbol this is > char *file; // file in which symbol occurs > int line; // line at which this symbol occurs General point. Don't use int. Use short or long as int is _normally_ defines as wordsize and so can be anything from 8-64 bits. Course if you are targeting only one machine then what the hell. > }; > > struct symboltree { > char matchchar; // character this node handles > struct symboltree *nextlevel; // pointer to the tree for this > // node > (ie. the one for this matchchar, 1 level deeper) > struct symboltree *nextnode; // pointer to the next node at this level > struct symbol *symbolnode; // pointer to the symbol at this node > (or NULL > // if no symbol is defined at this node). > }; > > SYMBOL_T *createNode(char nodechar); > SYMBOL *lookup(char *symboltomatch); // returns NULL if no such symbol found > int insertSymbol(char *symbol, char *file, int flags, int line); > SYMBOL *createSymbol(char *file, int flags, int line); > void freeSymbolTree(SYMBOL_T *symboltree); > void recurseDump(SYMBOL_T *symtree, char *curptr, char *ptrbase); > void dumpSymTable(SYMBOL_T *symtree); > > #endif > > ------ > > /* Assembler symbol handling > */ > #include > #include > #include "symbol.h" > #include "boaiass.h" > > SYMBOL_T *symbolbase = NULL; // pointer to the base of the symbol tree... > > /* Looks up a symbol in the symbol table. Returns NULL for no match, > * or a pointer to the symbol if there is a match. > */ > > SYMBOL *lookup(char *symboltomatch) > { > SYMBOL_T *symptr; > > symptr=symbolbase; > > if (symptr==NULL) return NULL; // no symbol tree means no symbols. > > while (*symboltomatch!=0) // while not at end of symbol string > { > // if we don't match this node, move to the next one > > if (symptr->matchchar!=*symboltomatch) > { > // if there's no more nodes, return a NULL pointer > // (no more symbol possiblities) > if (symptr->nextnode==NULL) > { > return NULL; > } > else > { > symptr = symptr->nextnode; // point to > next node to check > continue; // carry on for the next iteration > } > } > > // have we reached the end of the symbol to check? > if (*(symboltomatch+1)=='0') return symptr->symbolnode; Whoa. won't this match 'abcd\0' with 'abcdef\0' ? > // if there is no symbol defined at this point, then it'll > // return NULL. > > // advance to the next match level, and step on a character > // in the symbol to match. > symptr = symptr->nextlevel; > symboltomatch++; > } > > return NULL; // not matched at all -- return null. > } > Cursary glimpse at rest only. -- ---------------------------------------------------- | | |This site is levitated by superconducting magnets.| |--------------------------------------------------| |Home arivyyrl@aqverpg.pb.hx | |Work tou3exae@vozznvy.pbz | |http://www.ndirect.co.uk/~nevilley/homepage.htm | ---------------------------------------------------- From owner-sam-users@nvg.ntnu.no Tue May 6 08:16:33 1997 Message-Id: From: mat@pec.torun.pl (Maciej J. Woloszyk) Subject: Re: E-Tracker To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 09:05:15 +0200 (MET DST) In-Reply-To: from "Maciej J. Woloszyk" at May 5, 97 09:04:17 am X-Mailer: ELM [version 2.4 PL25 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 252 Lines: 10 Hi, As I promised yesterday, here is the answer: in the compiled tune there is a block of 28 bytes (the exact copy of data sent to SAA chip registers) at the offset of 976 (which is for example 32768+976=33744). Hope this helped, Mat of ESI. From owner-sam-users@nvg.ntnu.no Tue May 6 10:13:59 1997 Message-Id: <336EF192.446B@math.uni-goettingen.de> Date: Tue, 06 May 1997 10:53:38 +0200 From: Slawomir Grodkowski X-Mailer: Mozilla 3.01 (X11; I; OSF1 V4.0 alpha) Mime-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: E-Tracker References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 505 Lines: 21 Maciej J. Woloszyk wrote: > > Hi, > > As I promised yesterday, here is the answer: in the compiled tune there is a > block of 28 bytes (the exact copy of data sent to SAA chip registers) at the > offset of 976 (which is for example 32768+976=33744). > > Hope this helped, > > Mat of ESI. Hi Maciej !!! Oczom wlasnym nie wierzylem , jak zobaczylem ten list od Ciebie , czyzbys jeszcze cos robil na Sam'ie , czy tylko tak czytasz sobie od czasu do czasu liste ... Odpisz i trzymaj sie Slawek. From owner-sam-users@nvg.ntnu.no Tue May 6 10:13:59 1997 Date: Tue, 6 May 1997 04:58:23 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970506045821_-1266398932@emout20.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 264 Lines: 11 In a message dated 03/05/97 15:53:21, you write: >Don't I know it. Exeter has now gone Labour :( >If only the LibDem had got in. > >Bill. Don't know what you got to beef about - for the first time in my adult life I now live in a city with a Labour MP :( Bob. From owner-sam-users@nvg.ntnu.no Tue May 6 10:14:00 1997 Date: Tue, 6 May 1997 09:58:16 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 921 Lines: 21 On Fri, 2 May 1997, Si Owen wrote: > Will the symbol table need scopes? (new scope temporarily hiding outer symbols > of the same name - as in local variables hiding globals) It would be nice to have tempory labels, but they'll only be needed in the scope of objects, or maybe have a SCOPE directive and using something like EXTERN to make certain labels global in a higher scope. Hope that's clear. (At least I know what I mean...) Oh. And another thing. Can we have long label names?? Like 32 significant characters? -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 10:14:01 1997 From: Mr P R Walker Message-Id: <12407.199705060907@lily.csv.warwick.ac.uk> Subject: Re: Teledisk To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 10:07:17 +0100 (BST) In-Reply-To: <8625648E.004CA335.00@Internet-504.interliant.com> from "Stefan Drissen" at May 5, 97 03:31:05 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 598 Lines: 19 > Some of the FRED disks (issues 60 to 70 approximately) were duplicated > in a bit of a funny way - on a real SAM the discs would read VERY > slowly due the funny shearing (or something). These discs do have ONE Ah. I remember now, yes... [AnaDisk] > >without the programmers even knowing of sam's existence. > As did Teledisk... Not surprising, they're written by the same people. > Ahem, I never got down to doing the write routines... not that I > can imagine them being too much of a hassle - just the time... Time seems to be the bane of most of the people on here, doesn't it? Paul From owner-sam-users@nvg.ntnu.no Tue May 6 10:34:42 1997 Date: Tue, 6 May 1997 10:15:44 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: .sna Speccy snapshots In-Reply-To: <9705041315.AA09828@gruffle.comlab.ox.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1040 Lines: 22 On Sun, 4 May 1997, Ian Collier wrote: > Spectrum ROM is apparently OK to copy for use with emulators providing you > don't change it. There are, however, several modified ROMs floating around > including mine. To be pedantic you would supply the unaltered ROM together > with a program which applies the changes, I suppose. OK. I've got SNA-RUNner on disk. As soon as I get on a machine with a floppy drive, I'll upload it to nvg. It's in two packages, ones a .PAK and the other is a .TD0 to keep everyone happy. Instructions for unPAKing the .PAK is in the readme file. Ian: Where can I get a copy of the keyboard-mapped speccy ROMs? -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 10:34:42 1997 Date: Tue, 6 May 1997 10:18:04 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) In-Reply-To: <970506045821_-1266398932@emout20.mail.aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 905 Lines: 23 On Tue, 6 May 1997 BrenchleyR@aol.com wrote: > In a message dated 03/05/97 15:53:21, you write: > > >Don't I know it. Exeter has now gone Labour :( > >If only the LibDem had got in. > > > >Bill. > > Don't know what you got to beef about - for the first time in my adult life I > now live in a city with a Labour MP :( All those students who voted Labour had better not complain about their student grants EVER again! They're being abolished. Ha ha ha... (Good job I'm graduating in a couple of months!) -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 10:44:44 1997 Date: Tue, 6 May 1997 10:38:03 +0100 From: D.M.Zambonini@cs.cf.ac.uk (D M Zambonini) Message-Id: <199705060938.KAA25072@chrysolite.cs.cf.ac.uk> To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-MD5: LATBU6/7wyBc5/gQ31nORA== Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 447 Lines: 13 > > If you stick with 16-bit compilers like VC++ 1.52, you can compile for normal > > DOS too. No reason why it can't be compiled for both! > > True, I guess. It's just that they don't have VC++ on here, while they do > have Borland C++ (plus Win version), so that's the one I picked. :) For a good compiler for DOS can I suggest DJGPP V2 ? It's a quite decent 32 bit compiler for DOS, a port of the GNU compiler, and shareware too. DMZ --- From owner-sam-users@nvg.ntnu.no Tue May 6 10:53:12 1997 From: Mr P R Walker Message-Id: <16578.199705060945@lily.csv.warwick.ac.uk> Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 10:45:36 +0100 (BST) In-Reply-To: <199705060938.KAA25072@chrysolite.cs.cf.ac.uk> from "D M Zambonini" at May 6, 97 10:38:03 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 245 Lines: 8 > For a good compiler for DOS can I suggest DJGPP V2 ? It's a quite decent > 32 bit compiler for DOS, a port of the GNU compiler, and shareware too. If it's part of a GNU package then it'll be freeware with source included, remember? :) Paul From owner-sam-users@nvg.ntnu.no Tue May 6 11:05:29 1997 Date: Tue, 6 May 1997 10:55:26 +0100 (BST) From: Justin Skists X-Sender: c93js1@napier.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: <16578.199705060945@lily.csv.warwick.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 908 Lines: 22 On Tue, 6 May 1997, Mr P R Walker wrote: > > > For a good compiler for DOS can I suggest DJGPP V2 ? It's a quite decent > > 32 bit compiler for DOS, a port of the GNU compiler, and shareware too. > > If it's part of a GNU package then it'll be freeware with source included, > remember? :) That is correct. DJGPP is excellent (although I haven't downloaded V2 yet. I'm still using V1.12). But didn't Si say that he had to do it in VC++ coz he had to persuade the Boss to let him train in it, or something? -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From imc Tue May 6 11:23:41 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 11:23:41 +0100 (BST) In-Reply-To: <19970505125542Z49155-17239+73@sabre-wulf.nvg.ntnu.no> from "Simon Cooke" at May 5, 97 01:54:51 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1783 Lines: 59 On Mon, 5 May 1997 13:54:51 +0100 (BST), Simon Cooke said: > Right... I've implemented something somewhat like that now... see what > you think: > struct symbol { > char flags; // flags indicating what type of symbol this is > char *file; // file in which symbol occurs > int line; // line at which this symbol occurs > }; > struct symboltree { > char matchchar; // character this node handles > struct symboltree *nextlevel; // pointer to the tree for this > // node > (ie. the one for this matchchar, 1 level deeper) > struct symboltree *nextnode; // pointer to the next node at this level > struct symbol *symbolnode; // pointer to the symbol at this node > (or NULL > // if no symbol is defined at this node). > }; Urg, code! I didn't expect that. :-) Well I didn't follow all that, but it certainly doesn't look like a binary tree to me. What I had in mind was something like struct symbol { struct symbol *less; struct symbol *grtr; char *file; int line; char flags; char name[1]; } struct symbol *symbol_root = NULL; struct symbol *search(char *name) { struct symbol *ptr = symbol_root; while (ptr!=NULL) { int i=strcasecmp(name, ptr->name); if (i<0) ptr=ptr->less; else if (i>0) ptr=ptr->grtr; else break; } return ptr; /* NULL if symbol is not found */ } Now that was simple, wasn't it? Insertion can be almost as easy, or slightly harder, depending on whether you want to balance it or not. Deletion requires a bit of fiddling but still isn't that hard. There are loads of books about it anyway. > > (PS did we do the "May the 4th" joke yet? (-: ) > I don't think so :) Darn. :-) imc From imc Tue May 6 11:35:12 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 11:35:12 +0100 (BST) In-Reply-To: <336E5B3D.2C10@aqverpg.pb.hx> from "Neville Young" at May 5, 97 11:12:14 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 466 Lines: 10 On Mon, 05 May 1997 23:12:14 +0100, Neville Young said: > General point. Don't use int. Use short or long as int is _normally_ > defines as wordsize and so can be anything from 8-64 bits. General point. Do use int unless you particularly care how many bits it has, because it will usually be the most convenient size for the machine to handle. I've never heard of 8-bit ints, so as long as the numbers you want to store are less than 32768 I say go for it. imc From imc Tue May 6 11:36:00 1997 Subject: Re: E-Tracker To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 11:36:00 +0100 (BST) In-Reply-To: <336EF192.446B@math.uni-goettingen.de> from "Slawomir Grodkowski" at May 6, 97 10:53:38 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 302 Lines: 10 On Tue, 06 May 1997 10:53:38 +0200, Slawomir Grodkowski said: > Oczom wlasnym nie wierzylem , jak zobaczylem ten list od Ciebie , > czyzbys jeszcze cos robil na Sam'ie , czy tylko tak czytasz sobie od > czasu do czasu liste ... > Odpisz i trzymaj sie I tried rot13 and it didn't improve... :-) imc From imc Tue May 6 11:37:27 1997 Subject: Re: .sna Speccy snapshots To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 11:37:27 +0100 (BST) In-Reply-To: from "Justin Skists" at May 6, 97 10:15:44 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 222 Lines: 7 On Tue, 6 May 1997 10:15:44 +0100 (BST), Justin Skists said: > Ian: Where can I get a copy of the keyboard-mapped speccy ROMs? Good question. I don't think they are on the net so I'll have to try digging one up... imc From owner-sam-users@nvg.ntnu.no Tue May 6 12:01:49 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 11:47:32 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: FW: Samboss (was: Re: the show) In-reply-to: <970506045821_-1266398932@emout20.mail.aol.com> X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <2FAAC743425@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 753 Lines: 21 > Don't know what you got to beef about - for the first time in my adult life I > now live in a city with a Labour MP :( > > Bob. Hmm... My home town of Stratford (and therefore, Bidford, the village, which is part of the same constituency) has stayed Conservative. As has the town where I used to live in West Sussex. Leicester, where I am in the week, is Labour though. :( -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Tue May 6 12:01:50 1997 From: James R Curry Organization: De Montfort University To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 11:45:12 GMT MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: E-Tracker In-reply-to: References: from "Maciej J. Woloszyk" at May 5, 97 09:04:17 am X-mailer: Pegasus Mail for Windows (v2.50) Message-ID: <2FAA2377092@sahara.cms.dmu.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 650 Lines: 21 > As I promised yesterday, here is the answer: in the compiled tune there is a > block of 28 bytes (the exact copy of data sent to SAA chip registers) at the > offset of 976 (which is for example 32768+976=33744). > > Hope this helped, > > Mat of ESI. Thanks very much :) -- James R Curry hc95jc@dmu.ac.uk "When Marge first told me she was going to the police academy, I thought it'd be fun and exciting, you know, like that movie, 'Spaceballs'. But instead it's been painful and disturbing like that movie 'Police Academy'." - Homer Simpson, the Simpsons. The official James R Curry web page is under construction! Stand by. From owner-sam-users@nvg.ntnu.no Tue May 6 12:29:15 1997 To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) References: <970506045821_-1266398932@emout20.mail.aol.com> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 06 May 1997 12:10:12 +0100 In-Reply-To: BrenchleyR@aol.com's message of Tue, 6 May 1997 04:58:23 -0400 (EDT) Message-ID: X-Mailer: Gnus v5.4.50/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 538 Lines: 21 BrenchleyR@aol.com writes: > In a message dated 03/05/97 15:53:21, you write: > > >Don't I know it. Exeter has now gone Labour :( > >If only the LibDem had got in. > > > >Bill. > > Don't know what you got to beef about - for the first time in my adult life I > now live in a city with a Labour MP :( > Me too! Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Tue May 6 12:29:15 1997 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: <9705061023.AA26125@gruffle.comlab.ox.ac.uk> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 06 May 1997 12:17:39 +0100 In-Reply-To: Ian Collier's message of Tue, 6 May 1997 11:23:41 +0100 (BST) Message-ID: X-Mailer: Gnus v5.4.50/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 2448 Lines: 80 Ian Collier writes: > On Mon, 5 May 1997 13:54:51 +0100 (BST), Simon Cooke said: > > Right... I've implemented something somewhat like that now... see what > > you think: > > > struct symbol { > > char flags; // flags indicating what type of symbol this is > > char *file; // file in which symbol occurs > > int line; // line at which this symbol occurs > > }; > > > struct symboltree { > > char matchchar; // character this node handles > > struct symboltree *nextlevel; // pointer to the tree for this > > // node > > (ie. the one for this matchchar, 1 level deeper) > > struct symboltree *nextnode; // pointer to the next node at this level > > struct symbol *symbolnode; // pointer to the symbol at this node > > (or NULL > > // if no symbol is defined at this node). > > }; > > Urg, code! I didn't expect that. :-) > > Well I didn't follow all that, but it certainly doesn't look like a binary > tree to me. What I had in mind was something like > I agree, but I couldn't be bothered writing an example at the time, but it's either that or do my coursework ... > struct symbol { > struct symbol *less; > struct symbol *grtr; > char *file; > int line; > char flags; > char name[1]; > } > > struct symbol *symbol_root = NULL; > > struct symbol *search(char *name) { > struct symbol *ptr = symbol_root; > while (ptr!=NULL) { > int i=strcasecmp(name, ptr->name); > if (i<0) ptr=ptr->less; > else if (i>0) ptr=ptr->grtr; > else break; > } > return ptr; /* NULL if symbol is not found */ > } > Oops, looks like Ian's done the hard work for me ;) > Insertion can be almost as easy, or slightly harder, depending on whether > you want to balance it or not. Why does this sound like something out of the Karma Sutra, or have I just got a one-track mind ? > Deletion requires a bit of fiddling but still isn't that hard. There > are loads of books about it anyway. > > (PS did we do the "May the 4th" joke yet? (-: ) > > I don't think so :) > > Darn. :-) > I'm dying for someone to explain this one to me, anyone? Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Tue May 6 12:29:18 1997 To: sam-users@nvg.ntnu.no Subject: Re: E-Tracker References: <336EF192.446B@math.uni-goettingen.de> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 06 May 1997 12:05:59 +0100 In-Reply-To: Slawomir Grodkowski's message of Tue, 06 May 1997 10:53:38 +0200 Message-ID: X-Mailer: Gnus v5.4.50/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1100 Lines: 38 Slawomir Grodkowski writes: > Maciej J. Woloszyk wrote: > > > > Hi, > > > > As I promised yesterday, here is the answer: in the compiled tune there is a > > block of 28 bytes (the exact copy of data sent to SAA chip registers) at the > > offset of 976 (which is for example 32768+976=33744). > > Doesn't sound familiar, I'm sure that the volumes are around somewhere else as well, but hey, I s'pose you should know better than me! > > Hope this helped, > > > > Mat of ESI. > > Hi Maciej !!! > > Oczom wlasnym nie wierzylem , jak zobaczylem ten list od Ciebie , > czyzbys jeszcze cos robil na Sam'ie , czy tylko tak czytasz sobie od > czasu do czasu liste ... > > Odpisz i trzymaj sie > > Slawek. Wow, is this part of the RSA 'bet you can't crack this!' challenge. Do we get a prize if we're the first one's to understand it ;) Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From imc Tue May 6 12:39:03 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 12:39:03 +0100 (BST) In-Reply-To: from "Uncle Bulgaria" at May 6, 97 12:17:39 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 307 Lines: 12 On 06 May 1997 12:17:39 +0100, Uncle Bulgaria said: > > > (PS did we do the "May the 4th" joke yet? (-: ) > > > I don't think so :) > > Darn. :-) > I'm dying for someone to explain this one to me, anyone? It's just that on May 4th you get to say "May the 4th be with you", which is very funny. (-: imc From owner-sam-users@nvg.ntnu.no Tue May 6 13:03:45 1997 Date: Tue, 6 May 1997 12:43:14 +0100 From: D.M.Zambonini@cs.cf.ac.uk (D M Zambonini) Message-Id: <199705061143.MAA25644@nentres.cs.cf.ac.uk> To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-MD5: IkQ6S2hd2wniYufzCsyWKg== Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 343 Lines: 21 > > >Don't I know it. Exeter has now gone Labour :( > > >If only the LibDem had got in. > > > > > >Bill. > > > > Don't know what you got to beef about - for the first time in my adult life I > > now live in a city with a Labour MP :( > > > > Me too! > > Lee. > -- Do I detect a certain liberal slant to the SAM mailing list? DMZ --- From owner-sam-users@nvg.ntnu.no Tue May 6 13:03:45 1997 Date: Tue, 6 May 1997 13:44:04 +0200 From: ft@edh.ericsson.se (Frode Tenneboe) Message-Id: <9705061144.AA01656@asmal.edh-net> To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) X-Sun-Charset: US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 432 Lines: 14 > In a message dated 03/05/97 15:53:21, you write: > > >Don't I know it. Exeter has now gone Labour :( > >If only the LibDem had got in. > > > >Bill. > > Don't know what you got to beef about - for the first time in my adult life I > now live in a city with a Labour MP :( Spoiled brat!!! As a british statesman once said "Look to Norway..." ;) Now, you have voted and have not the right to complain for 4 (5 ?) years. -Frode From owner-sam-users@nvg.ntnu.no Tue May 6 13:04:00 1997 Date: Tue, 6 May 1997 12:41:33 +0100 From: D.M.Zambonini@cs.cf.ac.uk (D M Zambonini) Message-Id: <199705061141.MAA25641@nentres.cs.cf.ac.uk> To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-MD5: Z603N47ZQavCO07d+pI45Q== Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 468 Lines: 18 > > > For a good compiler for DOS can I suggest DJGPP V2 ? It's a quite decent > > 32 bit compiler for DOS, a port of the GNU compiler, and shareware too. > > If it's part of a GNU package then it'll be freeware with source included, > remember? :) > > Paul My mistake.. :) On the subject of the sizeof(int), I've never heard of 8 bit ints either. Personally, I usually use short int to ensure 16 bit, but then I'm unlikely to use a 64 bit compiler... DMZ --- From owner-sam-users@nvg.ntnu.no Tue May 6 13:25:19 1997 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: <9705061139.AA26677@gruffle.comlab.ox.ac.uk> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 06 May 1997 13:10:32 +0100 In-Reply-To: Ian Collier's message of Tue, 6 May 1997 12:39:04 +0100 (BST) Message-ID: X-Mailer: Gnus v5.4.50/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 610 Lines: 22 Ian Collier writes: > On 06 May 1997 12:17:39 +0100, Uncle Bulgaria said: > > > > (PS did we do the "May the 4th" joke yet? (-: ) > > > > I don't think so :) > > > > Darn. :-) > > > I'm dying for someone to explain this one to me, anyone? > > It's just that on May 4th you get to say "May the 4th be with you", which > is very funny. (-: > Or not ... Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Tue May 6 13:25:20 1997 To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) References: <199705061143.MAA25644@nentres.cs.cf.ac.uk> X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 06 May 1997 13:10:17 +0100 In-Reply-To: D.M.Zambonini@cs.cf.ac.uk's message of Tue, 6 May 1997 12:43:14 +0100 Message-ID: X-Mailer: Gnus v5.4.50/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 654 Lines: 25 D.M.Zambonini@cs.cf.ac.uk (D M Zambonini) writes: > > > >Don't I know it. Exeter has now gone Labour :( > > > >If only the LibDem had got in. > > > >Bill. > > > > > > Don't know what you got to beef about - for the first time in my adult life > > > I now live in a city with a Labour MP :( > > > > Me too! > > > > Lee. > > Do I detect a certain liberal slant to the SAM mailing list? > > DMZ > --- Nope, conservative I'm afraid! -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Tue May 6 13:45:35 1997 X-From-Line: nobody Tue May 6 13:12:02 1997 To: sam-users@ncg.ntnu.no Subject: Poor, impoverished student seeks work ... X-Mammoth-Status: Aware From: Uncle Bulgaria X-Mailer: Gnus v5.4.50/Emacs 19.34 Xref: dcsun4.comp.brad.ac.uk mail.05-97:18 X-Gnus-Article-Number: 18 Tue May 6 13:12:02 1997 Date: 06 May 1997 13:37:00 +0100 Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 351 Lines: 9 Don't s'pose anyone knows of any company willing to take a second year Software Engineering student on a placement this summer ? Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Tue May 6 14:07:33 1997 Date: Tue, 6 May 1997 13:49:12 +0100 (BST) From: Justin Skists X-Sender: c93js1@lagrange.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Poor, impoverished student seeks work ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 699 Lines: 18 On 6 May 1997, Uncle Bulgaria wrote: > Don't s'pose anyone knows of any company willing to take a second year > Software Engineering student on a placement this summer ? Better still:- Does anyone know of a company that will employ a graduate in low level programming? 80x86, 68HC11, Z80, 68000, C? -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 14:07:34 1997 From: Johnna Teare Organization: University of Central Lancashire To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 13:50:31 GMT+0 Subject: Re: FW: Samboss (was: Re: the show) X-mailer: Pegasus Mail for Windows (v2.33) Message-ID: Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1206 Lines: 34 > > > Don't know what you got to beef about - for the first time in my adult life I > > now live in a city with a Labour MP :( > > > > Bob. > > Hmm... My home town of Stratford (and therefore, Bidford, the > village, which is part of the same constituency) has stayed > Conservative. As has the town where I used to live in West Sussex. > > Leicester, where I am in the week, is Labour though. :( With all this anti-Labour feeling milling around one question begs answering...how the hell did they win so comfortably? (Just as an addition, one of my flatmates heard that three ministers had been caught in the landslide and said 'Oooh that's terrible...were they all killed?') > -- > James R Curry hc95jc@dmu.ac.uk > > "When Marge first told me she was going to the police > academy, I thought it'd be fun and exciting, you know, like that > movie, 'Spaceballs'. But instead it's been painful and > disturbing like that movie 'Police Academy'." > - Homer Simpson, the Simpsons. > > The official James R Curry web page is under construction! Stand by. > Johnna Pig Teare (JohnnaPig@deathsdoor.com) JohnnaPig OnLine (www.yi.com/home/TeareJohnna) "They call me Mad The Swine." From owner-sam-users@nvg.ntnu.no Tue May 6 14:19:02 1997 Message-Id: <199705061311.PAA18155@dxmint.cern.ch> X-Authentication-Warning: dxmint.cern.ch: Host hpopl1.cern.ch [137.138.243.47] claimed to be hpopb1.cern.ch From: Allan Skillman Subject: Re: Poor, impoverished student seeks work ... To: sam-users@nvg.ntnu.no Date: Tue, 6 May 97 15:11:55 METDST In-Reply-To: ; from "Justin Skists" at May 6, 97 1:49 pm Mailer: Elm [revision: 70.85] Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1029 Lines: 23 Hi, > > > Don't s'pose anyone knows of any company willing to take a second year > > Software Engineering student on a placement this summer ? > > Better still:- > > Does anyone know of a company that will employ a graduate in low level > programming? 80x86, 68HC11, Z80, 68000, C? How about CERN - fancy a nice trip to Switzerland? Allan +--------------------------------------------------------------------------+ | Now available! SimCoupe, the one and only SAM Coupe emulator | | ******* http://www.hep.ucl.ac.uk/~ajs/simcoupe ******* | +------------------------------+-------------------------------------------+ | Allan Skillman | "There are five flavours of resons, the | | HEPP Group | elementary particles of magic : up, down, | | University College London | sideways, sex-appeal and peppermint." | | Email : ajs@hep.ucl.ac.uk | - Terry Pratchett (Lords and Ladies) | +------------------------------+-------------------------------------------+ From owner-sam-users@nvg.ntnu.no Tue May 6 15:25:33 1997 Date: Tue, 6 May 1997 16:07:03 +0200 From: ft@edh.ericsson.se (Frode Tenneboe) Message-Id: <9705061407.AA01805@asmal.edh-net> To: sam-users@nvg.ntnu.no Subject: Re: Poor, impoverished student seeks work ... X-Sun-Charset: US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 237 Lines: 8 > > Does anyone know of a company that will employ a graduate in low level > > programming? 80x86, 68HC11, Z80, 68000, C? > > How about CERN - fancy a nice trip to Switzerland? Shouldn't he then have applied three years ago? -Frode From owner-sam-users@nvg.ntnu.no Tue May 6 15:52:19 1997 Date: Tue, 6 May 1997 15:27:58 +0100 (BST) From: Justin Skists X-Sender: c93js1@lagrange.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Poor, impoverished student seeks work ... In-Reply-To: <9705061407.AA01805@asmal.edh-net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 738 Lines: 19 On Tue, 6 May 1997, Frode Tenneboe wrote: > > > Does anyone know of a company that will employ a graduate in low level > > > programming? 80x86, 68HC11, Z80, 68000, C? > > > > How about CERN - fancy a nice trip to Switzerland? > > Shouldn't he then have applied three years ago? Is it that easy to get in? :( Switzerland sounds nice.. :) -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 15:52:19 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 15:40:01 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <157BC577ED7@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 983 Lines: 27 > > Will the symbol table need scopes? (new scope temporarily hiding outer symbols > > of the same name - as in local variables hiding globals) > > It would be nice to have tempory labels, but they'll only be needed in > the scope of objects, or maybe have a SCOPE directive and using something > like EXTERN to make certain labels global in a higher scope. > > Oh. And another thing. Can we have long label names?? Like 32 significant > characters? ** WE NEED ** scoping for macros at least, do we not? And if we're using pointers anyway, couldn't we technically have any label name length we like? (although imposing a maximum would be 'sensible' to say the least!) - how are we doing labels anyway? Going with PDASM again, should we not allow for the fact that the code could well have been written by anyone on any text editor / whatever, and maybe allow any of the following: LABEL1: .label1 (... some other example of labels which currently eludes me ) -- dave From owner-sam-users@nvg.ntnu.no Tue May 6 15:52:19 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 15:41:14 +0000 Subject: Re: FW: Samboss (was: Re: the show) X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <157C18C09A0@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 578 Lines: 14 > > Don't know what you got to beef about - for the first time in my adult life I > > now live in a city with a Labour MP :( > > All those students who voted Labour had better not complain about their > student grants EVER again! They're being abolished. Ha ha ha... (Good job > I'm graduating in a couple of months!) For the first time in my entire life (well, give or take maybe a year or two from the beginning) this is the first time I get to experience a Labour government. Are the generally much cop? I voted yellow. But then again I don't get a grant anyway. -- d From owner-sam-users@nvg.ntnu.no Tue May 6 15:52:20 1997 Date: Tue, 6 May 1997 15:44:24 +0100 (BST) From: Paul Walker X-Sender: csuan@holly To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 614 Lines: 16 On Tue, 6 May 1997, Justin Skists wrote: > That is correct. DJGPP is excellent (although I haven't downloaded V2 > yet. I'm still using V1.12). I grabbed a copy of V2, but I think I got the wrong archive (I downloaded ???dev.zip, or something), because I can't find anything that looks like a compiler inside. Where did you get yours from, and what filename? > But didn't Si say that he had to do it in VC++ coz he had to persuade the > Boss to let him train in it, or something? Possibly. You don't expect me to *read* this thread, do you? --------- Singers, shapers, dreamers, and makers -------------- From owner-sam-users@nvg.ntnu.no Tue May 6 15:52:20 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 15:42:17 +0000 Subject: Re: Poor, impoverished student seeks work ... X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <157C5CD4C05@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 304 Lines: 10 > Does anyone know of a company that will employ a graduate in low level > programming? 80x86, 68HC11, Z80, 68000, C? Yup - try IBM, OXYGEN and CSC to name but three. (trust me - they've been popping round here like, well, desperate employers, or something) -- dave trying to do a degree in scotland From imc Tue May 6 16:02:39 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 16:02:39 +0100 (BST) In-Reply-To: <157BC577ED7@eigg.sms.ed.ac.uk> from "Dave Hooper" at May 6, 97 03:40:01 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1118 Lines: 34 On Tue, 6 May 1997 15:40:01 +0000, Dave Hooper said: > ** WE NEED ** scoping for macros at least, do we not? Yes (probably implemented by starting a complete new symbol tree at the beginning of a macro and deleting it at the end of the macro - no need to fiddle with deleting individual variables. Of course, if a label can't be found in your new symbol tree then you search the previous one. And there might even be one previous to that, and to that, and so on). > And if we're using pointers anyway, couldn't we technically have any > label name length we like? Yes (I imagine it is easier not to impose a limit than it would be to impose one). > (although imposing a maximum would be > 'sensible' to say the least!) Why? > with PDASM again, should we not allow for the fact that the code > could well have been written by anyone on any text editor / whatever, > and maybe allow any of the following: > LABEL1: > .label1 Not really. For the same reason that C compilers don't assume you might have written PROCEDURE main(CARDINAL, ARRAY OF POINTER TO CHAR):INTEGER;. imc From owner-sam-users@nvg.ntnu.no Tue May 6 16:18:04 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 16:04:09 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <15823692317@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1050 Lines: 46 > I grabbed a copy of V2, but I think I got the wrong archive (I downloaded > ???dev.zip, or something), because I can't find anything that looks like a > compiler inside. Where did you get yours from, and what filename? I just downloaded V2 yesterday from: sunsite.doc.ic.ac.uk/Mirrors/simtel.coast.net/SimTel/vendors/djgpp and the various v2* directories. There's 'quite a few' archives to get, but the BARE MINIMUM is: v2/djdev200.zip v2gnu/bnu252b.zip v2gnu/gcc272b.zip fot just C, plus additionally ('if you like') : v2gnu/gpp272b.zip v2gnu/lgp271b.zip (for C++) and (to read online manuals/info) v2gnu/txi360b.zip To run the compiled code (oh - and also the compiler!) you need a DPMI environment (eg, windows, QEMM) - or (if just using plain old dos) you'll also need: v2misc/csdpmi1b.zip and also maybe v2misc/csdpmi1p.zip (dunno really, not used either yet, so not sure which one you really need) I'd recommend getting the make executable also: v2gnu/mak373b.zip oh - and this'll come in handy! : v2/readme.1st HTH -- devo From owner-sam-users@nvg.ntnu.no Tue May 6 16:20:17 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 16:15:42 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <15854CE45F2@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1156 Lines: 29 > > ** WE NEED ** scoping for macros at least, do we not? > Yes (probably implemented by starting a complete new symbol tree at the > beginning of a macro and deleting it at the end of the macro - no need to Just what I was thinking! > > And if we're using pointers anyway, couldn't we technically have any > > label name length we like? > Yes (I imagine it is easier not to impose a limit than it would be to > impose one). Fairynuff > > LABEL1: > > .label1 > Not really. For the same reason that C compilers don't assume you might > have written > > PROCEDURE main(CARDINAL, ARRAY OF POINTER TO CHAR):INTEGER;. Well, I have yet to see a C compiler that accepts the above, but then again, I've never tried it out. Whereas, I've used assemblers (ok - and obviously - for different machines, but still /assemblers/ ) that use either one of the above styles of labels. Do other people not get confused like me? Oh well, must be in a minority then. Forever trying to do things on one assembler that work fine on another but don't on this.. DEFB "hello",0 being a top top top example. (or was it DEFM .. anyway, the point is still there) -- daewoo From owner-sam-users@nvg.ntnu.no Tue May 6 16:56:47 1997 Date: Tue, 6 May 1997 16:48:56 +0100 (BST) From: Justin Skists X-Sender: c93js1@lagrange.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: <15854CE45F2@eigg.sms.ed.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 969 Lines: 25 On Tue, 6 May 1997, Dave Hooper wrote: > Do other people not get confused like me? Oh well, must be in a minority > then. Forever trying to do things on one assembler that work fine on > another but don't on this.. DEFB "hello",0 being a top top top example. > (or was it DEFM .. anyway, the point is still there) I'm forever doing things like that. I found one assembler doing my project that used all the different ways of doing specifying DEFB aswell: DB DEFB .db .defb (And probably a couple emore) Different ways of specifying characters, strings.. Urgh.. -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 17:39:01 1997 Date: Tue, 6 May 1997 17:26:49 +0100 (BST) From: Justin Skists X-Sender: c93js1@lagrange.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Poor, impoverished student seeks work ... In-Reply-To: <157C5CD4C05@eigg.sms.ed.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 759 Lines: 18 On Tue, 6 May 1997, Dave Hooper wrote: > > Does anyone know of a company that will employ a graduate in low level > > programming? 80x86, 68HC11, Z80, 68000, C? > > Yup - try IBM, OXYGEN and CSC to name but three. > (trust me - they've been popping round here like, well, desperate > employers, or something) Excellent.. I'll send them my CV when it's done.. -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Tue May 6 18:35:11 1997 From: Mr P R Walker Message-Id: <2723.199705061728@lily.csv.warwick.ac.uk> Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Tue, 6 May 1997 18:28:23 +0100 (BST) In-Reply-To: <15823692317@eigg.sms.ed.ac.uk> from "Dave Hooper" at May 6, 97 04:04:09 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 296 Lines: 11 > I just downloaded V2 yesterday from: > sunsite.doc.ic.ac.uk/Mirrors/simtel.coast.net/SimTel/vendors/djgpp [snip] Thanks for that, but after reading the FAQ and discovering I'd need at least 20Mb of diskspace, it's out of the question for the moment. :) (I currently have 3Mb spare...) Paul From owner-sam-users@nvg.ntnu.no Tue May 6 19:48:05 1997 Message-ID: Date: Tue, 6 May 1997 19:16:00 +0100 From: Dan Doore Organization: * To: sam-users@nvg.ntnu.no (Sam Users Mailing List) Subject: RE: FW: Samboss (was: Re: the show) Importance: Normal MIME-Version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-disposition: inline Content-transfer-encoding: 7bit X-Mailer: Connect2-SMTP 4.20B.16 MHS/SMF to SMTP Gateway Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 619 Lines: 17 > > Hmm... My home town of Stratford (and therefore, Bidford, the > > village, which is part of the same constituency) has stayed > > Conservative. As has the town where I used to live in West Sussex. > > > > Leicester, where I am in the week, is Labour though. :( > With all this anti-Labour feeling milling around one question begs > answering...how the hell did they win so comfortably? Because everybody voted for them, including my good self. Anyway, fuck politics - that's all I've had for the past two months. Back to the plot - Has anybody had the latest Fred yet? Dan of the Tooting Popular Front. From owner-sam-users@nvg.ntnu.no Wed May 7 06:02:18 1997 Message-ID: <336FB1AC.4FB@aqverpg.pb.hx> Date: Tue, 06 May 1997 23:33:16 +0100 From: Neville Young Organization: X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: <199705061141.MAA25641@nentres.cs.cf.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1244 Lines: 33 D M Zambonini wrote: > > > On the subject of the sizeof(int), I've never heard of 8 bit ints either. > Personally, I usually use short int to ensure 16 bit, but then I'm unlikely > to use a 64 bit compiler... > > DMZ > --- You're most likely too young to remember them. It's only a problem if you are going to port to different platforms. Although it will complie and most likely work you would not be able to exchange data files as the structures would be different. Of course, you can get this anyway with big & little endian and word allignment, but as stated on my original post if you're only targeting one platform then what the hell. For in depth discussions on C programming subscribe to the C & C++ users group contact francis@robinton.demon.co.uk for membership details. Tell him Neville sent you. -- ---------------------------------------------------- | | |This site is levitated by superconducting magnets.| |--------------------------------------------------| |Home arivyyrl@aqverpg.pb.hx | |Work tou3exae@vozznvy.pbz | |http://www.ndirect.co.uk/~nevilley/homepage.htm | ---------------------------------------------------- From owner-sam-users@nvg.ntnu.no Wed May 7 09:15:32 1997 Message-Id: <33703365.41C6@math.uni-goettingen.de> Date: Wed, 07 May 1997 09:46:45 +0200 From: Slawomir Grodkowski X-Mailer: Mozilla 3.01 (X11; I; OSF1 V4.0 alpha) Mime-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: E-Tracker References: <9705061036.AA26295@gruffle.comlab.ox.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 415 Lines: 16 Ian Collier wrote: > > On Tue, 06 May 1997 10:53:38 +0200, Slawomir Grodkowski said: > > Oczom wlasnym nie wierzylem , jak zobaczylem ten list od Ciebie , > > czyzbys jeszcze cos robil na Sam'ie , czy tylko tak czytasz sobie od > > czasu do czasu liste ... > > > Odpisz i trzymaj sie > > I tried rot13 and it didn't improve... :-) > > imc Sorry , this was a private letter to Mat , in polish ... Slawek. From owner-sam-users@nvg.ntnu.no Wed May 7 09:15:32 1997 Message-Id: <337033C1.167E@math.uni-goettingen.de> Date: Wed, 07 May 1997 09:48:17 +0200 From: Slawomir Grodkowski X-Mailer: Mozilla 3.01 (X11; I; OSF1 V4.0 alpha) Mime-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: E-Tracker References: <336EF192.446B@math.uni-goettingen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1279 Lines: 45 Uncle Bulgaria wrote: > > Slawomir Grodkowski writes: > > > Maciej J. Woloszyk wrote: > > > > > > Hi, > > > > > > As I promised yesterday, here is the answer: in the compiled tune there is a > > > block of 28 bytes (the exact copy of data sent to SAA chip registers) at the > > > offset of 976 (which is for example 32768+976=33744). > > > > > Doesn't sound familiar, I'm sure that the volumes are around somewhere > else as well, but hey, I s'pose you should know better than me! > > > > Hope this helped, > > > > > > Mat of ESI. > > > > Hi Maciej !!! > > > > Oczom wlasnym nie wierzylem , jak zobaczylem ten list od Ciebie , > > czyzbys jeszcze cos robil na Sam'ie , czy tylko tak czytasz sobie od > > czasu do czasu liste ... > > > > Odpisz i trzymaj sie > > > > Slawek. > > Wow, is this part of the RSA 'bet you can't crack this!' challenge. Do > we get a prize if we're the first one's to understand it ;) > > Lee. > > -- > No matter how hard you try, you can't make a baby in much less than > 9 months. Trying to speed this up *might* make it slower, but it won't > make it happen any quicker. > [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] I understand it ( Slawek ) and Mat of ESI too . I will the first price !!!!! Slawek. From imc Wed May 7 10:08:32 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 10:08:32 +0100 (BST) In-Reply-To: <336FB1AC.4FB@aqverpg.pb.hx> from "Neville Young" at May 6, 97 11:33:16 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 747 Lines: 15 On Tue, 06 May 1997 23:33:16 +0100, Neville Young said: > It's only a problem if you are going to port to different platforms. > Although it will complie and most likely work you would not be able to > exchange data files as the structures would be different. You should not count on exchanging data files in any case (unless, of course, you write it out as a sequence of characters instead of storing binary data directly). As well as big/little-endian differences, there could also be differences in the sizes of "short" and "long", and different amounts of padding in your data structures. "int" is still a perfectly valid and useful thing to use unless you have a valid reason to care how many bits there are in't. (Bad pun, sorry.) imc From owner-sam-users@nvg.ntnu.no Wed May 7 10:20:28 1997 Date: Wed, 7 May 1997 04:43:10 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970507044308_-1366808269@emout10.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Poor, impoverished student seeks work ... Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 243 Lines: 10 In a message dated 06/05/97 13:36:08, you write: >How about CERN - fancy a nice trip to Switzerland? > >Allan I would, but only if they let me play with the big ring. Bob. (who does have a couple of ideas he would like to experiment with) From owner-sam-users@nvg.ntnu.no Wed May 7 10:20:28 1997 Message-Id: <3.0.1.32.19970507094411.00f85cb0@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Wed, 07 May 1997 09:44:11 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: Assembler blues In-Reply-To: <336E5B3D.2C10@aqverpg.pb.hx> References: <19970505125542Z49155-17239+73@sabre-wulf.nvg.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1941 Lines: 51 At 11:12 PM 5/5/97 +0100, you wrote: This is the fifth time I've written this reply -- this time I'm back at work, so hopefully I won't lose carrier before I send it off ;) >> SYMBOL *lookup(char *symboltomatch) >> { >> SYMBOL_T *symptr; >> >> symptr=symbolbase; >> >> if (symptr==NULL) return NULL; // no symbol tree means no symbols. >> >> while (*symboltomatch!=0) // while not at end of symbol string >> { >> // if we don't match this node, move to the next one >> >> if (symptr->matchchar!=*symboltomatch) >> { >> // if there's no more nodes, return a NULL pointer >> // (no more symbol possiblities) >> if (symptr->nextnode==NULL) >> { >> return NULL; >> } >> else >> { >> symptr = symptr->nextnode; // point to >> next node to check >> continue; // carry on for the next iteration >> } >> } >> >> // have we reached the end of the symbol to check? >> if (*(symboltomatch+1)==0) return symptr->symbolnode; NEV>Whoa. won't this match 'abcd\0' with 'abcdef\0' ? >> // if there is no symbol defined at this point, then it'll >> // return NULL. Ah, no, that's the point you see -- in the tree, unless a symbol has been defined for "abcd", there won't be one at that node. "abcd" will stop at that node, and if a symbol is defined, will return a pointer to that symbol, or will return NULL (if one hasn't been defined). "abcdef" will carry on down the tree, and will return the symbol for "abcdef" if defined. I'll try explaining the way I've done it better soon... Simon From owner-sam-users@nvg.ntnu.no Wed May 7 10:20:28 1997 Message-ID: <337041AE.646D@rflect.demon.co.uk> Date: Wed, 07 May 1997 09:47:42 +0100 From: Wayne Coles Organization: reflections software X-Mailer: Mozilla 3.0 (Win95; I) MIME-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: KABOOM! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 2365 Lines: 51 Hi everyone! Yep, I`ve finally managed to subscribe to the user group and my first mail is to clear up a `few` things. KABOOM! Battle Valley (In case you don`t know, Kaboom! is a conversion of SUPER BOMBERMAN) I`ve heard a few people have complained about the amount of time this game is taking to arrive, and some people have even tried to make out that Fred Publishing are trying to sell a game that hasn`t been finished. Even though they`ve advertised it as finished. (Deep breath) I have to stand up and take the blame, Fred have said its finished ONLY because I`ve told Colin that its finished. The fact is I kept finding bugs in it. So if you want to blame anyone, it should be me. EXCUSES... At the start of the year I got a job I wasn`t expecting to get, the few weeks before christmas was spent travelling all over the country to job interviews. Finally I got a job (at last!) and moved to Newcastle. When I first moved up here I didn`t have a television (which makes programming the SAM a tad hard). Before I moved, I was programming on the SAM as a full time job, I wasn`t worried about the money. I wanted to produce a game that showed everyone what the SAM is capable of (and something that could help me get a job). Just because I got the job didn`t mean I`d just quickly finish off the game. I love my SAM and I won`t give it anything less than my best. Because of my job I get less time to work on my SAM so Kaboom! has taken me longer than expected (no kidding!). The game is now complete, a few levels and the victory animation still have to be written to disk (my TV keeps playing up or I would have finished it over the weekend). I am pleased with it and I hope all of you who have been waiting so patiently for so long will be just as happy (when you get it (natch!)). Before I go heres a few details of the game (sorry, I couldn`t resist).. Kaboom! comes on 2 disks, features in-game full screen animation without slow down. Up to 5 players (human or computer controlled) 20 different zones (each with five different layouts). Fully animated victory screen. Loads of options, Music or sound effects (with a test option on the title screen) support of two disk drives and/or one meg memory expansion (at least 512k and one drive needed). Plus secret options... Blimey! That was a serious bit of writing! Wayne Coles From owner-sam-users@nvg.ntnu.no Wed May 7 10:20:28 1997 Message-Id: <3.0.1.32.19970507095714.00f87e80@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Wed, 07 May 1997 09:57:14 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: Assembler blues In-Reply-To: <9705061023.AA26125@gruffle.comlab.ox.ac.uk> References: <19970505125542Z49155-17239+73@sabre-wulf.nvg.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 3095 Lines: 89 At 11:23 AM 5/6/97 +0100, you wrote: > >Urg, code! I didn't expect that. :-) *laughs* >Well I didn't follow all that, but it certainly doesn't look like a binary >tree to me. What I had in mind was something like > > struct symbol { > struct symbol *less; > struct symbol *grtr; > char *file; > int line; > char flags; > char name[1]; > } > > struct symbol *symbol_root = NULL; > > struct symbol *search(char *name) { > struct symbol *ptr = symbol_root; > while (ptr!=NULL) { > int i=strcasecmp(name, ptr->name); > if (i<0) ptr=ptr->less; > else if (i>0) ptr=ptr->grtr; > else break; > } > return ptr; /* NULL if symbol is not found */ > } > >Now that was simple, wasn't it? >Insertion can be almost as easy, or slightly harder, depending on whether >you want to balance it or not. Deletion requires a bit of fiddling but >still isn't that hard. There are loads of books about it anyway. Ahhh... right... I understand what it's doing. When I heard you say "tree", I though "AHHH... TREE!!!", and promptly went forth and came up with this. The advantage with the way it works is that: a. it's fast for searching for symbols. b. it's memory efficient for large numbers of symbols, or similarly named symbols c. it works well if you're passing one character in at a time -- makes symbol creation/evaluation a breeze. Right, the way I've done it is like this: There is a tree level for each character in the string. The first level of the tree matches the first character. In the diagram below, *'s are used to show where symbols are defined in the tree. Symbols I'm using for this example are: ABCDEF ABCXYZ BETA BETTER GO L1: A--->---B--->---G | | | L2: B E O* | | L3: C T / / L4: D->-X A*->-T | | | L5: E Y E | | | L6: F* Z* R* Say we're searching for "BETTER". Starting (for the moment - I'm going to change how it looks at each level soon to incorporate a doubly linked list instead of a singly linked one) at "A" at L1, we don't see a match, so we go to the next one along, which is "B". This does match, so we check if there are any more characters to match. If there are, we follow the "nextlevel" link, which takes us to E, at L2. We do the same to get to T, and then we've got a problem - there are two characters at the next level. The first ("A") doesn't match, so we move to the second ("T"), which does match, then move down, matching "E", then "R". As there are no more characters left to match, the contents of the symbol node at "R", L6, is returned. I'm going to do some jiggery-pokery to insert symbols in alphabetical order, and things like that, and to speed up searchingby making sure that the search always starts in the middle of the data (e.g. it'd start at L1 at "B" instead of "A". Searching for "ABCDEF" would move backwards to the "A" character, then down that tree). What do you think? Simon From owner-sam-users@nvg.ntnu.no Wed May 7 11:19:29 1997 Date: Wed, 07 May 1997 06:12:41 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Poor, impoverished student seeks work ... Message-Id: <19970507101258Z49157-260+34@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 539 Lines: 26 Date: 1997-05-07 11:13 Priority: ------------------------------------------------------------------------------ Date: Wed, 7 May 1997 04:43:10 -0400 (EDT) From: BrenchleyR@aol.com >To: sam-users@nvg.ntnu.no >Subject: Re: Poor, impoverished student seeks work ... > >In a message dated 06/05/97 13:36:08, you write: > >>How about CERN - fancy a nice trip to Switzerland? >> >>Allan > >I would, but only if they let me play with the big ring. > >Bob. Which ring is that? one of the seven, one of the three, or The one ring? Precious. From imc Wed May 7 11:31:26 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 11:31:26 +0100 (BST) In-Reply-To: <3.0.1.32.19970507095714.00f87e80@nessie.mcc.ac.uk> from "Simon Cooke" at May 7, 97 09:57:14 am X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1297 Lines: 25 On Wed, 07 May 1997 09:57:14 +0100, Simon Cooke said: > I'm going to do some jiggery-pokery to insert symbols in alphabetical > order, and things like that, and to speed up searchingby making sure that > the search always starts in the middle of the data (e.g. it'd start at L1 > at "B" instead of "A". Searching for "ABCDEF" would move backwards to the > "A" character, then down that tree). > What do you think? What you have there is a sparse "trie" (pronounced, I believe, "tree") modified by having a linked lists instead of an array at each node. In theory, the asymptotic behaviour of this is better than for a binary tree since the number of levels equals the length of the longest symbol and doesn't depend on how many symbols there are in the table (in that respect it is even better than a fixed size hash table). In practice my gut feeling is that it would be slower for small symbol tables, and it's more complicated to manage. But it's a close call. Putting the things in alphabetical order saves about half the time at almost no programming cost, so it's worth doing. Making the search start in the middle will save half of the remaining time at quite a large programming cost plus at least one extra element in each data structure. This isn't worth it in my opinion. imc From owner-sam-users@nvg.ntnu.no Wed May 7 12:11:38 1997 Date: Wed, 07 May 1997 07:02:35 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Assembler blues Message-Id: <19970507110253Z49157-260+49@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 356 Lines: 18 Date: 1997-05-07 12:03 Priority: ------------------------------------------------------------------------------ Date: Wed, 07 May 1997 09:57:14 +0100 >To: sam-users@nvg.ntnu.no >From: Simon Cooke >Subject: Re: Assembler blues > >At 11:23 AM 5/6/97 +0100, you wrote: > >What do you think? > >Simon excellent ] Nev. From owner-sam-users@nvg.ntnu.no Wed May 7 12:38:00 1997 Date: Wed, 07 May 1997 07:11:42 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Assembler blues Message-Id: <19970507111148Z49157-260+50@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 2113 Lines: 61 Date: 1997-05-07 12:06 Priority: ------------------------------------------------------------------------------ Date: Wed, 07 May 1997 09:44:11 +0100 >To: sam-users@nvg.ntnu.no >From: Simon Cooke >Subject: Re: Assembler blues > >At 11:12 PM 5/5/97 +0100, you wrote: >This is the fifth time I've written this reply -- this time I'm back at >work, so hopefully I won't lose carrier before I send it off ;) > > > >NEV>Whoa. won't this match 'abcd\0' with 'abcdef\0' ? > >>> // if there is no symbol defined at this point, then it'll >>> // return NULL. > >Ah, no, that's the point you see -- in the tree, unless a symbol has been >defined for "abcd", there won't be one at that node. "abcd" will stop at >that node, and if a symbol is defined, will return a pointer to that >symbol, or will return NULL (if one hasn't been defined). "abcdef" will >carry on down the tree, and will return the symbol for "abcdef" if defined. > >I'll try explaining the way I've done it better soon... > >Simon Yep seen your other mail. It's all clear now. Nev. ---- End of mail text Additional SMTP headers from original mail item follow: Received: from sabre-wulf.nvg.ntnu.no by ibmmail.COM (IBM VM SMTP V2R3) with TCP; Wed, 07 May 97 05:07:07 EDT Received: by sabre-wulf.nvg.ntnu.no id <49289-260>; Wed, 7 May 1997 10:59:07 +0 200 Received: from jumper.mcc.ac.uk (Y130.88.202.26?) by sabre-wulf.nvg.ntnu.no wit h ESMTP id <49291-260>; Wed, 7 May 1997 10:58:51 +0200 Received: from eris (eris.sss.co.uk Y193.37.229.57?) by jumper.mcc.ac.uk (8.8.5/8.8.5) with SMTP id KAA21164 for ; Wed, 7 May 1997 10:03:05 +0100 Message-Id: <3.0.1.32.19970507094411.00f85cb0@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) In-Reply-To: <336E5B3D.2C10@aqverpg.pb.hx> References: <19970505125542Z49155-17239+73@sabre-wulf.nvg.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-sam-users@nvg.ntnu.no Precedence: bulk Reply-To: sam-users@nvg.ntnu.no From owner-sam-users@nvg.ntnu.no Wed May 7 12:55:44 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 12:31:31 +0100 (BST) Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) In-Reply-To: <9705071031.AA06754@gruffle.comlab.ox.ac.uk> from "Ian Collier" at May 7, 97 11:31:26 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Simon Cooke Message-Id: <19970507114823Z49166-260+51@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1017 Lines: 22 > What you have there is a sparse "trie" (pronounced, I believe, "tree") > modified by having a linked lists instead of an array at each node. In > theory, the asymptotic behaviour of this is better than for a binary > tree since the number of levels equals the length of the longest symbol > and doesn't depend on how many symbols there are in the table (in that > respect it is even better than a fixed size hash table). In practice > my gut feeling is that it would be slower for small symbol tables, and > it's more complicated to manage. But it's a close call. Cool! ... wow... I have a name for my creation ;) > Putting the things in alphabetical order saves about half the time at almost > no programming cost, so it's worth doing. Making the search start in the > middle will save half of the remaining time at quite a large programming > cost plus at least one extra element in each data structure. This isn't > worth it in my opinion. Right... alphabetical order it is :) Cheers Ian! Simon From imc Wed May 7 13:04:25 1997 Subject: Archive To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 13:04:25 +0100 (BST) X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 131 Lines: 5 The archive is back. It starts at 19960901. See http://www.comlab.ox.ac.uk/oucl/users/ian.collier/Misc/sam-users/ . imc From owner-sam-users@nvg.ntnu.no Wed May 7 21:56:26 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 12:40:54 +0100 (BST) Cc: Simon.Cooke@nessie.mcc.ac.uk (Simon Cooke) In-Reply-To: <19970507110253Z49157-260+49@sabre-wulf.nvg.ntnu.no> from "YOUNG, Neville / IT Life" at May 7, 97 07:02:35 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: Simon Cooke Message-Id: <19970507115509Z49166-260+52@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 222 Lines: 12 > > > >What do you think? > > > >Simon > excellent ] > > Nev. Now all I've got to do is to fiddle with the allocation of storage space thing, to reduce the overhead caused by having so many mallocs... Simon From owner-sam-users@nvg.ntnu.no Wed May 7 22:00:43 1997 Message-ID: Date: Wed, 7 May 1997 14:42:00 +0100 From: Dan Doore Organization: * To: sam-users@nvg.ntnu.no (Sam Users Mailing List) Subject: RE: Assembler blues Importance: Normal MIME-Version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-disposition: inline Content-transfer-encoding: 7bit X-Mailer: Connect2-SMTP 4.20B.16 MHS/SMF to SMTP Gateway Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 280 Lines: 15 > "int" is still a perfectly valid and useful thing to use unless you have a > valid reason to care how many bits there are in't. (Bad pun, sorry.) Did someone say pun? UKP10 to the first person to use this declaration in commercial C Code: int milk_brilliant; :) Dan. From owner-sam-users@nvg.ntnu.no Wed May 7 22:01:29 1997 Message-Id: <3.0.1.32.19970507154831.00f88a08@nessie.mcc.ac.uk> X-Sender: scooke@nessie.mcc.ac.uk X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Wed, 07 May 1997 15:48:31 +0100 To: sam-users@nvg.ntnu.no From: Simon Cooke Subject: Re: Assembler blues In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1999 Lines: 74 At 09:58 AM 5/6/97 +0100, you wrote: >Status: RO > >On Fri, 2 May 1997, Si Owen wrote: > >> Will the symbol table need scopes? (new scope temporarily hiding outer symbols >> of the same name - as in local variables hiding globals) > >It would be nice to have tempory labels, but they'll only be needed in >the scope of objects, or maybe have a SCOPE directive and using something >like EXTERN to make certain labels global in a higher scope. > >Hope that's clear. (At least I know what I mean...) I was thinking of something like this: macro_to_define: MACRO local: LD A,$1 l2: LD B,$2 l3: LD E,0 l5: LD HL,$3 ENDMACRO Which would be used like this: mymacrousage1: macro_to_define(4,10,SYMBOL) DJNZ mymacrousage1.l5 mymacrousage2: macro_to_define(20,SYMBOL,10) LD A,(HL) LD (mymacrousage2.l3+1),A Data is passed into the macro as such: mymacrousage1 ------------- $1 = 4 $2 = 10 $3 = SYMBOL etc etc. All handled thusly: If macro is being used: get label of macro (eg mymacrousage1) define a "scope" extension to the label (insert a "." under the label in the tree) insert the symbols defined within the macro under the "." in the tree. Makes it all a lot easier, I think... possibly also do definitions like: mymacrousage1.$1 = 4 mymacrousage2.$2 = 10 mymacrousage3.$2 = SYMBOL etc etc etc. in the symbol table. I dunno if EXTERN variables are necessary. They'd only really be useful if we were using a linker, which may be on the cards. I'll leave the code open to putting them in. >Oh. And another thing. Can we have long label names?? Like 32 significant >characters? Oh tish... At the moment I'm thinking of going for "as many significant characters as you like"... handy these sparse trie structures ;) Mind you, you may find that it begins to get a bit unwieldy if you start using 512 character long lables... Simon From owner-sam-users@nvg.ntnu.no Wed May 7 22:06:58 1997 From: Dave Hooper <9531427@EIGG.SMS.ED.AC.UK> Organization: stripwax paranoia consultants To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 13:15:52 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <16D563155CB@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 312 Lines: 8 > Thanks for that, but after reading the FAQ and discovering I'd need > at least 20Mb of diskspace, it's out of the question for the moment. :) > > (I currently have 3Mb spare...) 3Mb is not enuff ;) But my installation was certainly nothing like 20Mb (maybe 8-10Mb, I'd reckon - did not install everything!) From owner-sam-users@nvg.ntnu.no Wed May 7 22:06:59 1997 From: 9531427@EIGG.SMS.ED.AC.UK To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 13:23:28 +0000 Subject: Re: Assembler blues X-mailer: Pegasus Mail for Windows (v2.42a) Message-ID: <16D765A4E2F@eigg.sms.ed.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 429 Lines: 9 > I'm going to do some jiggery-pokery to insert symbols in alphabetical > order, and things like that, and to speed up searchingby making sure that > the search always starts in the middle of the data (e.g. it'd start at L1 > at "B" instead of "A". Searching for "ABCDEF" would move backwards to the > "A" character, then down that tree). Maybe wanna do a binary search for that? Dunno how, so maybe forget that actually... -- From owner-sam-users@nvg.ntnu.no Wed May 7 22:09:06 1997 Date: Wed, 07 May 1997 09:30:25 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Gloating (Was: Assembler blues) Message-Id: <19970507133038Z49197-260+62@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 633 Lines: 22 Date: 1997-05-07 14:19 Priority: ------------------------------------------------------------------------------ From: "Dave Hooper" <9531427@EIGG.SMS.ED.AC.UK> >To: sam-users@nvg.ntnu.no >Date: Wed, 7 May 1997 13:15:52 +0000 >Subject: Re: Assembler blues > >> Thanks for that, but after reading the FAQ and discovering I'd need >> at least 20Mb of diskspace, it's out of the question for the moment. :) >> >> (I currently have 3Mb spare...) > >3Mb is not enuff ;) >But my installation was certainly nothing like 20Mb (maybe 8-10Mb, >I'd reckon - did not install everything]) Had over 1350Mb spare last time I looked. ;) Golum From owner-sam-users@nvg.ntnu.no Wed May 7 22:09:12 1997 Date: Wed, 7 May 1997 09:40:33 -0400 (EDT) From: Gouranga@aol.com Message-ID: <970507093811_-1198329173@emout05.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: FW: Samboss (was: Re: the show) Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 276 Lines: 9 > Back to the plot - Has anybody had the latest Fred yet? Spoke to Darren last night, most of the discs have been duplicated and will be going out today and tomorrow, so hold your breath, count to three, and it should be on your doorstep a mere jot before Kaboom..... CM From owner-sam-users@nvg.ntnu.no Wed May 7 22:12:03 1997 Date: Wed, 7 May 1997 10:06:44 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970507100619_-1433779862@emout05.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 387 Lines: 16 In a message dated 06/05/97 17:40:13, you write: >Thanks for that, but after reading the FAQ and discovering I'd need >at least 20Mb of diskspace, it's out of the question for the moment. :) > >(I currently have 3Mb spare...) > >Paul > > 3Mb!!! How can you run a system with so little? I worry I may have problems and I have over 200Mb spare (ok 600Mb if I ditch the rubbish). Bob. From owner-sam-users@nvg.ntnu.no Wed May 7 22:12:04 1997 From: Johnna Teare Organization: University of Central Lancashire To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 16:25:50 GMT+0 Subject: Assembler Blues and Twos X-mailer: Pegasus Mail for Windows (v2.33) Message-ID: <2D8003B46@mail-gw.uclan.ac.uk> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 149 Lines: 5 FOR nicate=1to 100? Johnna Pig Teare (JohnnaPig@deathsdoor.com) JohnnaPig OnLine (www.yi.com/home/TeareJohnna) "I'm one card short of a full deck." From owner-sam-users@nvg.ntnu.no Wed May 7 22:12:08 1997 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: X-Mammoth-Status: Aware From: Uncle Bulgaria Date: 07 May 1997 16:09:17 +0100 In-Reply-To: Dan Doore's message of Wed, 7 May 1997 14:42:00 +0100 Message-ID: X-Mailer: Gnus v5.4.50/Emacs 19.34 Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 686 Lines: 25 Dan Doore writes: > > "int" is still a perfectly valid and useful thing to use unless you > have a > > valid reason to care how many bits there are in't. (Bad pun, sorry.) > > Did someone say pun? > > UKP10 to the first person to use this declaration in commercial C Code: > > int milk_brilliant; > I do remember someone about 5-10 years ago used a PROC rastinate to introduce an artificial pause which I thought was pretty cool ;) Lee. -- No matter how hard you try, you can't make a baby in much less than 9 months. Trying to speed this up *might* make it slower, but it won't make it happen any quicker. [ftp://sunsite.doc.ic.ac.uk/rfc/rfc1925.txt] From owner-sam-users@nvg.ntnu.no Wed May 7 22:12:09 1997 Date: Wed, 07 May 1997 11:23:54 EDT From: "YOUNG, Neville / IT Life" To: sam-users@nvg.ntnu.no MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: int milk_brilliant Message-Id: <19970507153057Z49199-260+76@sabre-wulf.nvg.ntnu.no> Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 242 Lines: 13 Date: 1997-05-07 16:12 Priority: ------------------------------------------------------------------------------ oops pressed del instead of reply but you know what I'm on about. Could I get away with an error handler int my_fault() ? :) From owner-sam-users@nvg.ntnu.no Wed May 7 22:17:19 1997 From: Mr P R Walker Message-Id: <24520.199705071752@holly.csv.warwick.ac.uk> Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 18:52:08 +0100 (BST) In-Reply-To: <16D563155CB@eigg.sms.ed.ac.uk> from "Dave Hooper" at May 7, 97 01:15:52 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 338 Lines: 12 > 3Mb is not enuff ;) Currently down to 1.5Mb. I may have to delete some mail... > But my installation was certainly nothing like 20Mb (maybe 8-10Mb, > I'd reckon - did not install everything!) The readme file said 13Mb for a development install, and a large virtual RAM drive... as development is what I'd be doing... Paul From owner-sam-users@nvg.ntnu.no Wed May 7 22:17:22 1997 From: Mr P R Walker Message-Id: <24801.199705071755@holly.csv.warwick.ac.uk> Subject: Re: Gloating (Was: Assembler blues) To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 18:55:29 +0100 (BST) In-Reply-To: <19970507133038Z49197-260+62@sabre-wulf.nvg.ntnu.no> from "YOUNG, Neville / IT Life" at May 7, 97 09:30:25 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 76 Lines: 6 > Had over 1350Mb spare last time I looked. ;) You want to die? :) Paul From owner-sam-users@nvg.ntnu.no Wed May 7 22:17:23 1997 From: Mr P R Walker Message-Id: <25022.199705071757@holly.csv.warwick.ac.uk> Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Wed, 7 May 1997 18:57:19 +0100 (BST) In-Reply-To: <970507100619_-1433779862@emout05.mail.aol.com> from "BrenchleyR@aol.com" at May 7, 97 10:06:44 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 496 Lines: 16 > 3Mb!!! How can you run a system with so little? I worry I may have problems > and I have over 200Mb spare (ok 600Mb if I ditch the rubbish). By being careful what I put on it. It's got enough for Turbo Pascal, GoldED, FMail,and so on, although more would be nice. Of course, I don't have Windows on there, which saves a lot of space by default :) I don't think most Windows programs have even heard of the word "efficiency", or "size-reduction". 15Mb for a web-browser. 15!! Paul From owner-sam-users@nvg.ntnu.no Wed May 7 22:17:33 1997 Message-ID: <3370C4CF.9DC@aqverpg.pb.hx> Date: Wed, 07 May 1997 19:07:11 +0100 From: Neville Young Organization: X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: Gloating (Was: Assembler blues) References: <24801.199705071755@holly.csv.warwick.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 573 Lines: 17 Mr P R Walker wrote: > > > Had over 1350Mb spare last time I looked. ;) > > You want to die? :) Not just yet but one day I will. Promise. :) -- ---------------------------------------------------- | | |This site is levitated by superconducting magnets.| |--------------------------------------------------| |Home arivyyrl@aqverpg.pb.hx | |Work tou3exae@vozznvy.pbz | |http://www.ndirect.co.uk/~nevilley/homepage.htm | ---------------------------------------------------- From owner-sam-users@nvg.ntnu.no Wed May 7 22:17:33 1997 Message-ID: <3370C6FC.54A1@aqverpg.pb.hx> Date: Wed, 07 May 1997 19:16:29 +0100 From: Neville Young Organization: X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues References: <9705071031.AA06754@gruffle.comlab.ox.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 1674 Lines: 38 Ian Collier wrote: > > > What do you think? > > What you have there is a sparse "trie" (pronounced, I believe, "tree") > modified by having a linked lists instead of an array at each node. In > theory, the asymptotic behaviour of this is better than for a binary > tree since the number of levels equals the length of the longest symbol > and doesn't depend on how many symbols there are in the table (in that > respect it is even better than a fixed size hash table). In practice > my gut feeling is that it would be slower for small symbol tables, and > it's more complicated to manage. But it's a close call. > > Putting the things in alphabetical order saves about half the time at almost > no programming cost, so it's worth doing. Making the search start in the > middle will save half of the remaining time at quite a large programming > cost plus at least one extra element in each data structure. This isn't > worth it in my opinion. > > imc How does one sequence save time compared with any other sequence? Am I missing something here? A-Z or Z-A or random wouldn't the effectivness of any sequence depend entirely on the distribution of characters being used? Please shoot me down if I'm wrong but explain it to me first. -- ---------------------------------------------------- | | |This site is levitated by superconducting magnets.| |--------------------------------------------------| |Home arivyyrl@aqverpg.pb.hx | |Work tou3exae@vozznvy.pbz | |http://www.ndirect.co.uk/~nevilley/homepage.htm | ---------------------------------------------------- From owner-sam-users@nvg.ntnu.no Thu May 8 09:25:22 1997 Date: Thu, 8 May 1997 09:19:04 +0100 (BST) From: Justin Skists X-Sender: c93js1@cantor.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Assembler blues In-Reply-To: <16D563155CB@eigg.sms.ed.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 854 Lines: 21 On Wed, 7 May 1997, Dave Hooper wrote: > > Thanks for that, but after reading the FAQ and discovering I'd need > > at least 20Mb of diskspace, it's out of the question for the moment. :) > > > > (I currently have 3Mb spare...) > > 3Mb is not enuff ;) > But my installation was certainly nothing like 20Mb (maybe 8-10Mb, > I'd reckon - did not install everything!) Just install binaries for the bare essentials. Forget about source code and most docs... -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From owner-sam-users@nvg.ntnu.no Thu May 8 09:55:03 1997 Date: Thu, 8 May 1997 09:46:20 +0100 (BST) From: Justin Skists X-Sender: c93js1@cantor.cms.dmu.ac.uk To: sam-users@nvg.ntnu.no Subject: Re: Gloating (Was: Assembler blues) In-Reply-To: <19970507133038Z49197-260+62@sabre-wulf.nvg.ntnu.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 456 Lines: 11 > Had over 1350Mb spare last time I looked. ;) You git! :) -- ============================================================================= |Justin Skists (c93js1@dmu.ac.uk) | Artificial Intelligence: | |BSc (Hons) Computer Science, Year 4 | Making computers behave like | |De Montfort University, Leicester, England | they do in the movies. | ============================================================================= From imc Thu May 8 10:27:20 1997 Subject: Re: Assembler blues To: sam-users@nvg.ntnu.no Date: Thu, 8 May 1997 10:27:20 +0100 (BST) In-Reply-To: <16D765A4E2F@eigg.sms.ed.ac.uk> from "9531427@EIGG.SMS.ED.AC.UK" at May 7, 97 01:23:28 pm X-Mailer: ELM [version 2.4 PL24 PGP6] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 362 Lines: 9 On Wed, 7 May 1997 13:23:28 +0000, 9531427@EIGG.SMS.ED.AC.UK said: > Maybe wanna do a binary search for that? Dunno how, so maybe forget > that actually... Yes, binary search is somewhat impossible on a linked list (you would arrange it as a tree instead). You can only do that on an array, and if he had an array he's just do an array index operation. imc From owner-sam-users@nvg.ntnu.no Thu May 8 11:02:27 1997 Date: Thu, 8 May 1997 05:48:04 -0400 (EDT) From: BrenchleyR@aol.com Message-ID: <970508054803_269005116@emout11.mail.aol.com> To: sam-users@nvg.ntnu.no Subject: Re: Poor, impoverished student seeks work ... Reply-To: sam-users@nvg.ntnu.no Status: RO Content-Length: 228 Lines: 14 In a message dated 07/05/97 12:43:21, you write: >Which ring is that? >one of the seven, >one of the three, >or The one ring? > >Precious. Is the big one..... Small though compared to the one they would like to build. Bob.