nanogui: Microwindows on SuperH


Previous by date: 18 Oct 2000 16:24:43 -0000 Re: [Nano-X] fltk 1.0.9 - MenuBar and MenuButton working now., Jeff Moellmer
Next by date: 18 Oct 2000 16:24:43 -0000 Re: GrArea slow??, Greg Haerr
Previous in thread: 18 Oct 2000 16:24:43 -0000 Re: Microwindows on SuperH, Masanori TOKUNAGA
Next in thread: 18 Oct 2000 16:24:43 -0000 Re: Microwindows on SuperH, KIM,KYOUNG-IL (HP-Cupertino,ex1)

Subject: Re: Microwindows on SuperH
From: "Greg Haerr" ####@####.####
Date: 18 Oct 2000 16:24:43 -0000
Message-Id: <006f01c03920$5297f140$15320cd0@gregh>

: 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 ?

What is the framebuffer bits per pixel?  Perhaps the bytes
need to be bit-reversed.  Lineo Japan has performed
an SH port, I will send for more information, I have
not received it yet.

Regards,

Greg




:
: 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 16:24:43 -0000 Re: [Nano-X] fltk 1.0.9 - MenuBar and MenuButton working now., Jeff Moellmer
Next by date: 18 Oct 2000 16:24:43 -0000 Re: GrArea slow??, Greg Haerr
Previous in thread: 18 Oct 2000 16:24:43 -0000 Re: Microwindows on SuperH, Masanori TOKUNAGA
Next in thread: 18 Oct 2000 16:24:43 -0000 Re: Microwindows on SuperH, KIM,KYOUNG-IL (HP-Cupertino,ex1)


Powered by ezmlm-browse 0.20.