nanogui: Microwindows on SuperH


Previous by date: 18 Oct 2000 10:44:52 -0000 Re: Microwindows on MPC823, jonb.marel.is
Next by date: 18 Oct 2000 10:44:52 -0000 any mail client for microwindows?, LC. Chang
Previous in thread: 18 Oct 2000 10:44:52 -0000 Re: Microwindows on SuperH, Jaswinder Singh
Next in thread: 18 Oct 2000 10:44:52 -0000 Re: Microwindows on SuperH, Greg Haerr

Subject: Re: Microwindows on SuperH
From: Masanori TOKUNAGA ####@####.####
Date: 18 Oct 2000 10:44:52 -0000
Message-Id: <39ED7FD1.6E0D14E0@nsc.mci.mei.co.jp>

Hi..
I succedded to excute 'mdemo' on SuperH .
But outputs is strange...
It seems that bitmaps is reversed.
I suspect there is a endian problerm...
Linux-sh is running little endian.

Is this a framebuffer driver bug or a microwindow bug ?

Greg Haerr wrote:

> : bash-2.04#./mdemo
> :                         <-- screen cleared and no output
> : bash-2.04#
> :
>
> Lineo has performed a SuperH port of Microwindows, but
> I have not received it.  I suspect there is a porting problem, or
> that your framebuffer is not setup properly.  I will try to
> find the guy's name at Lineo that ported SH and get
> the information to you...
>
> Regards,
>
> Greg
>
> : Uhmm..
> :
> :
> : > ----- Original Message -----
> : > From: Masanori TOKUNAGA ####@####.####
> : > To: ####@####.####
> : > Sent: Tuesday, October 17, 2000 6:01 AM
> : > Subject: Microwindows on SuperH
> : >
> : > : Hi,
> : > : I try to compile microwindow for framebuffer device on SuperH.
> : > : I have errors.
> : > : Please help me.
> : > :
> : > : Error:
> : > : Compiling srvnet.c ...
> : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
> : > : `ega_drawpixel':
> : > : vgaplan4.o(.text+0x100): undefined reference to `outw'
> : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
> : > : `ega_drawhorzline':
> : > : vgaplan4.o(.text+0x2f8): undefined reference to `outw'
> : > : vgaplan4.o(.text+0x304): undefined reference to `outb'
> : > : vgaplan4.o(.text+0x37c): undefined reference to `outb'
> : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
> : > : `ega_drawvertline':
> : > : vgaplan4.o(.text+0x4f0): undefined reference to `outw'
> : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
> : > : `ega_init':
> : > : vgaplan4.o(.text+0x55c): undefined reference to `ioperm'
> : > : ...
> : > :
> : > :
> : > :
> : > : --
> : > : $ diff Makefile.rules.org Makefile.rules
> : > : 129c129
> : > : < CC = $(TOOLSPREFIX)$(COMPILER)
> : > : ---
> : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
> : > :
> : > : $ diff Arch.rules.org Arch.rules
> : > : 32a33,41
> : > : > ifeq ($(ARCH), LINUX-SH)
> : > : > COMPILER = gcc
> : > : > CXX_COMPILER = g++
> : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
> : > : > DEFINES += -DLINUX=1 -DUNIX=1
> : > : > CFLAGS += -Wall $(OPTFLAGS)
> : > : > LDFLAGS +=
> : > : > endif
> : > : >
> : > :
> : > : % diff config.org config
> : > : 36a37
> : > : > SHTOOLSPREFIX          = sh-linux-gnu-
> : > : 241,242c242,243
> : > : < TTYKBD                   = Y
> : > : < NOKBD                    = N
> : > : ---
> : > : > TTYKBD                   = N
> : > : > NOKBD                    = Y
> : > :
> : > : $ diff drivers/scr_fb.c.org  drivers/scr_fb.c
> : > : 21c21
> : > : < #include <sys/io.h>
> : > : ---
> : > : > #include <asm/io.h>
> : > :
> : > : $ diff drivers/vgaplan4.h drivers/vgaplan4.h.org
> : > : 22,23c22,23
> : > : < /* #include <sys/io.h> */             /* for outb def's, requires -O
> : > : */
> : > : < #include <asm/io.h>   /* for outb def's on 2.3.x*/
> : > : ---
> : > : > #include <sys/io.h>           /* for outb def's, requires -O */
> : > : > /* #include <asm/io.h>        */ /* for outb def's on 2.3.x*/
> : > :
> : > :
> : > : --
> : > : TOKUNAGA ####@####.####
> : > :
> : > :
> : > :
> : > : ---------------------------------------------------------------------
> : > : To unsubscribe, e-mail: ####@####.####
> : > : For additional commands, e-mail: ####@####.####
> : > :
> : > :
> :
> : --
> : TOKUNAGA ####@####.####
> :
> :
> :
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

--
TOKUNAGA ####@####.####



Previous by date: 18 Oct 2000 10:44:52 -0000 Re: Microwindows on MPC823, jonb.marel.is
Next by date: 18 Oct 2000 10:44:52 -0000 any mail client for microwindows?, LC. Chang
Previous in thread: 18 Oct 2000 10:44:52 -0000 Re: Microwindows on SuperH, Jaswinder Singh
Next in thread: 18 Oct 2000 10:44:52 -0000 Re: Microwindows on SuperH, Greg Haerr


Powered by ezmlm-browse 0.20.