Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #31529

Re: Gforth on Android

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Gforth on Android
Date 2014-06-14 14:57 +0200
Organization 1&1 Internet AG
Message-ID <lnhgr5$aes$1@online.de> (permalink)
References <ll0hhr$j16$1@speranza.aioe.org> <03d56ea2-da46-4104-bda0-adc7a31d3c66@googlegroups.com> <ln9oic$5ej$1@online.de> <b9318b0b-6156-4956-8006-ad7a6fb4bee5@googlegroups.com>

Show all headers | View raw


bruce.mcfarling@gmail.com wrote:

> On Wednesday, June 11, 2014 10:19:54 AM UTC-4, Bernd Paysan wrote:
>> BruceMcF wrote:
>>> How is the command line set up ... when I try to run it on
>>> my Nook HD, I get a black screen. I have a sneaking
>>> suspicion it might be a "black text on black screen" kind
>>> of situation.
> 
>> Highly unlikely.  You can actually set text and background
>> colors, but if it was black/black by default, others would
>> see the same problem.  So the   better guess is that you
>> have some unique conditions that don't show up on other
>> devices.  Don't worry, usually I find out what it is.
> 
>> Two things for troublshooting: in /sdcard, you find a
>> gforthout.log and a gfortherr.log.
> 
> The gfortherr.log says:
> 
> Registering native methods
> chdir(/sdcard)
> Starting gforth -- starta.fs
> Starting Gforth...
> 
> /sdcard/gforth/site-forth/android.fs:17: warning: redefined androidapp
> window $1A625E0 app window $1A625E0
> Started, rval=-56
> ainput=0x53ce1b48, acmd=0x53ce1b68, akey=0x53ce1b88
> bootmessage=0x53cad808
> starting gforth_quit

Ok, that looks fine.  Next, add a "t" at the last line of 
/sdcard/gforth/site-forth/starta.fs and try telnet <your tablet's ip> 4444.  
Then you can e.g "include gl-sample.fs" and see if a simpler GL shader 
program works on your device.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Gforth on Android Steve Graham <jsgrahamus@yahoo.com> - 2014-05-14 12:52 -0700
  Re: Gforth on Android Bernd Paysan <bernd.paysan@gmx.de> - 2014-05-15 01:41 +0200
    Re: Gforth on Android Steve Graham <jsgrahamus@yahoo.com> - 2014-05-14 17:12 -0700
    Re: Gforth on Android Marvin <marvin_littlewood_426716@yahoo.co.uk> - 2014-06-12 02:08 -0700
  Re: Gforth on Android BruceMcF <agila61@netscape.net> - 2014-06-10 21:34 -0700
    Re: Gforth on Android Bernd Paysan <bernd.paysan@gmx.de> - 2014-06-11 16:19 +0200
      Re: Gforth on Android bruce.mcfarling@gmail.com - 2014-06-13 23:19 -0700
        Re: Gforth on Android Bernd Paysan <bernd.paysan@gmx.de> - 2014-06-14 14:57 +0200
          Re: Gforth on Android BruceMcF <agila61@netscape.net> - 2014-06-15 17:49 -0700

csiph-web