nanogui: Microwindows on SuperH


Previous by date: 13 Nov 2000 22:24:41 -0000 Re: Silkscreen button, Jordan Crouse
Next by date: 13 Nov 2000 22:24:41 -0000 NanoX changes, peter.igelaus.com.au
Previous in thread: 13 Nov 2000 22:24:41 -0000 Re: Microwindows on SuperH, Jaswinder Singh
Next in thread: 13 Nov 2000 22:24:41 -0000 Re: Microwindows on SuperH, Jaswinder Singh

Subject: RE: Microwindows on SuperH
From: "KIM,KYOUNG-IL (HP-Cupertino,ex1)" ####@####.####
Date: 13 Nov 2000 22:24:41 -0000
Message-Id: <4341EF5F8B4AD311AB4B00902740B9F2018689F7@xcup02.cup.hp.com>

Hi, 

Where can I get Version.89pre6 ? 
The latest version in Microwidows web site is  0.89pre5.

Thank you, 
Kyoung Kim

-----Original Message-----
From: Greg Haerr
To: KIM,KYOUNG-IL (HP-Cupertino,ex1); 'Masanori TOKUNAGA ';
####@####.####
Sent: 11/12/00 11:20 AM
Subject: Re: Microwindows on SuperH

: Frame buffer drivers in /src/drivers/fblin4.c are
: for big endian. I modified fblin4.c for my SH little 
: endian.  You have to check bit pixels in frame buffer.
: See comments in source file(fblin4.c) I attached. 
: This is 4bpp display. 

I  have added drivers/fblin4sh3.c to the Microwindows 0.89pre6
tree, as well as adding support for the SH3 compilation.  I
wasn't able to test this, but it seems that there's already a 
reversed-nibble order 4bpp driver, drivers/fblin4rev.c in
the distribution.  Could you check to see whether both
the fblin4sh3.c and fblin4rev.c are reqiured?

Regards,

Greg






: 
: BigEndian (original fblin4.c)
:         32                 16 15                0
:         -----------------------------------------
:         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
:         -----------------------------------------
: 
: LittleEndian (My SH3 target, attatched file, fblin4.c) 
: 
:         32                 16 15                0
:         -----------------------------------------
:         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
:         -----------------------------------------
: You'd better check how pixels are allocated in
: your frame buffer memory.
: 
: Good Luck, 
: Kyoung Kim
: 
: -----Original Message-----
: From: Masanori TOKUNAGA
: To: Greg Haerr; ####@####.####
: Sent: 10/18/00 3:47 AM
: Subject: Re: Microwindows on SuperH
: 
: 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 ####@####.####
: 
: 
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
: 
: 


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

Previous by date: 13 Nov 2000 22:24:41 -0000 Re: Silkscreen button, Jordan Crouse
Next by date: 13 Nov 2000 22:24:41 -0000 NanoX changes, peter.igelaus.com.au
Previous in thread: 13 Nov 2000 22:24:41 -0000 Re: Microwindows on SuperH, Jaswinder Singh
Next in thread: 13 Nov 2000 22:24:41 -0000 Re: Microwindows on SuperH, Jaswinder Singh


Powered by ezmlm-browse 0.20.