Date: Sat, 21 May 2005 16:58:07 +0200 From: alexander <arundel@h3c.de> To: freebsd-hackers@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Looking for ANSI/VT100 code replacement. Message-ID: <20050521145807.GA51141@skatecity> In-Reply-To: <20050521080723.GN2129@cirb503493.alcatel.com.au> References: <20050520224726.GA7951@skatecity> <20050520230845.GC51092@dan.emsphone.com> <20050521015105.GA9063@skatecity> <20050521080723.GN2129@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat May 21 05, Peter Jeremy wrote: > > I think you need to give us more details and preferably some sample code > to simulate the problem. What is the hardware you are running on? What > version of FreeBSD, X11 and xterm/Eterm. > > -- > Peter Jeremy Here's the code that is using the VT100 stuff: ############################################################################## %define stdout 1 MainDataSend db 0Ah,"Sending main data..." MaxUnits db 0 dd 0 MainDataSlash db "/" CurrentUnit db "0" dd "0000" lMainDataSend equ $-MainDataSend lCurrentUnit equ $-CurrentUnit updateMainUnit db 27,91,53,68,27,91,75 lupdateMainUnit equ $-updateMainUnit ;... mov [MaxUnits+1], dword ebx mov [MaxUnits], byte bl push dword lMainDataSend push dword MainDataSend push dword stdout mov eax, 4 call _syscall add esp, byte 12 ;THE FOLLOWING CODE IS EMBEDDED INTO A LOOP push dword lupdateMainUnit push dword updateMainUnit push dword stdout mov eax, 4 call _syscall add esp, byte 12 ;... mov [CurrentUnit+1], dword ebx mov [CurrentUnit], byte bl ;... push dword lCurrentUnit push dword CurrentUnit push dword stdout mov eax, 4 call _syscall add esp, byte 12 ############################################################################## The Problem is defenately not the speed of my system: 1.3 Ghz && 512 MB !!! If you want to have a look at the entire sourcecode please visit my blog at http://arundel.blog.de I also took 2 videos with my digicam that show you how stdout behaves under the console and using Eterm. The files are encoded with XVID (no sound): http://520061600655-0001.bei.t-online.de/gbacopy/console.avi http://520061600655-0001.bei.t-online.de/gbacopy/eterm.avi Cheers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050521145807.GA51141>