Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe17.iad.POSTED!00000000!not-for-mail From: Chris Gray Newsgroups: comp.arch Subject: Re: cost of prolog/epilog References: <1ka9v9g.1jhyz5n1o6blj4N%wclodius@lost-alamos.pet> <87y5vmo130.fsf@GraySage.com> <874ny93voz.fsf_-_@Niukka.kon.iki.fi> <2011Nov14.104535@mips.complang.tuwien.ac.at> <87aa7xni6m.fsf@GraySage.com> <2011Nov16.103008@mips.complang.tuwien.ac.at> Message-ID: <8739dnodcs.fsf@GraySage.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:mMNtazNJFtqkFCKNSdowkjwXfg0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 15 NNTP-Posting-Host: 68.148.50.1 X-Complaints-To: internet.abuse@sjrb.ca X-Trace: newsfe17.iad 1321486179 68.148.50.1 (Wed, 16 Nov 2011 23:29:39 UTC) NNTP-Posting-Date: Wed, 16 Nov 2011 23:29:39 UTC Date: Wed, 16 Nov 2011 16:29:39 -0700 Xref: x330-a1.tempe.blueboxinc.net comp.arch:4795 Terje Mathisen <"terje.mathisen at tmsw.no"> writes: > The emulator asm code is of course 16-bit x86, the machine being > emulated looks like 8080-something! Yes. It was a few selected lines from my CP/M-80 emulator written for CP/M-86. Long long ago I had a dual-CPU S100 card with 8085 and 8088. Software for CP/M-80, but little for CP/M-86, so I wrote the emulator to allow me to do more. All of my own stuff worked, but a commercial full-screen editor didn't - I expect I wasn't emulating the low-memory stuff (128 bytes of "OS" stuff) properly. Could also have been instructions my stuff didn't use, of course. -- Chris Gray