All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lawrence <lawrencio@hotpop.com>
To: fmarmond@eprocess.fr
Cc: linux-assembly@vger.kernel.org
Subject: Re: Using asm to develop GUI under framebuffer environment
Date: Sun, 29 Feb 2004 09:45:19 +0800	[thread overview]
Message-ID: <4041442F.1010604@hotpop.com> (raw)
In-Reply-To: <1077981999.4040b32fb1541@intranet.eprocess.fr>

Hi Frederic,

Thank you very much for your comment and time. This way I can start to 
experiment with the linux framebuffer!

Best Regards,
Lawrence


fmarmond@eprocess.fr ??:

>Hi Lawrence, 
>telnet is a 'unsecure' 'old' way of connecting to a remote host. 
>I guess you are at home, so security is not the priority, and you are using 
>windows in your second host, so, the 'old' side of telnet is not a problem. 
>(plus, if you use windows, security seems not to be your priority too...) ;) 
>I must admit that I don't use ald. 
> 
>See following comments... 
> 
>Selon Lawrence <lawrencio@hotpop.com>: 
> 
>  
>
>>Hi Frederic, 
>> 
>>Thanks for your kindly reply.  I keep thinking about your inspiration  
>>these days (and that's the reason for my late reply).  Since I am not  
>>quite familiar with SSH, I tried to telnet into my linux box under MS  
>>Windows, and debug the attached framebuffer example asm file I found on 
>> 
>>http://www.nk.rim.or.jp/~jun/lxasm/exasm.tar.gz 
>> 
>>using ald.  the screen do appear rightly on the linux console, while the  
>>debugging process is shown on my telnet window. 
>> 
>>I don't know if this operation is right, as I only step over a few  
>>command, then I pass the 'continue' command to ald and let it run.  
>>    
>>
>It seems to do what you want, so it seems to be right, no? ;) 
>That's the way I suggested, with SSH. 
>  
>
>> Moreover, the example open /dev/fb0 directly, I am not sure if it is  
>>because this act that make the output rightly go into the linux console  
>>but not on my telnet screen. 
>>    
>>
>In Unixes (and so, Linux), "all is file" (the primary rule of Unix). 
>In fact, /dev/fb0 is a file that has no physical reality on disk. It is just 
>an entry in the filesystem that point to a kernel API. If you write something 
>to this 'file', in fact, it send the data to the associated driver. The driver 
>(in the kernel) can be accessed that way, very easily! There is nothing magic, 
>you can read what drivers do in the kernel sources.  
>In general, you send command to the driver with ioctl (Input/Ouput ConTroL, 
>see the related man page), and large data with regular read/writes. 
>For FrameBufer, for exemple, you send change modes request thru IOCTL, and 
>graphic data thru writes. 
> 
>The FrameBuffer acts directly on your graphic card, so, on the host that is 
>running the prog hardware. The telnet is just a terminal emulation. It a very 
>simple protocole that works in lot of TEXT termials (VT100 for exemple). 
> 
>  
>
>> 
>>Would you please be so kind as to tell me if I am wrong? 
>>    
>>
>Is what you do not what you wanted to do? If it is, you are right! ;) 
> 
>Fred 
>  
>
>> 
>>Thanks and Regards, 
>>Lawence 
>> 
>>    
>>
>>>hum, what about working with SSH ? 
>>>I think it may be the best choice! 
>>>You may also use a deported X screen (no X serveur on the computer on  
>>>which you are working for your GUI, but on an other machine on which  
>>>you can deport your screen, to debug, play with tetris and send  
>>>mails... ;) ) 
>>>If you come from windows and are not aware of the power of unix, ask  
>>>me precisions... 
>>>
>>>Fred 
>>>
>>>Lawrence wrote: 
>>>
>>>      
>>>
>>>>Hi Linux Assembly Gurus, 
>>>>
>>>>I have some experience in developing a desktop environment using 
>>>>PharLap's asm toolkit.  I am very interested in doing the same thing 
>>>>under Linux. 
>>>>
>>>>Because of the GUI nature, I usually redirect the output of the debugger 
>>>>into another computer's terminal, so that the UI being debugged can  
>>>>be seen. 
>>>>
>>>>I would like to know if there is a nasm specialized debugger that can do 
>>>>such remote debugging under Linux, or are there any workaround for this 
>>>>issue. 
>>>>
>>>>Thanks and Regards, 
>>>>Lawrence 
>>>>
>>>>- 
>>>>To unsubscribe from this list: send the line "unsubscribe  
>>>>linux-assembly" in 
>>>>the body of a message to majordomo@vger.kernel.org 
>>>>More majordomo info at  http://vger.kernel.org/majordomo-info.html 
>>>>
>>>>  
>>>>
>>>>        
>>>>
>>>
>>>      
>>>
>> 
>> 
>>    
>>
> 
> 
> 
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>  
>



      reply	other threads:[~2004-02-29  1:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-25  1:59 Using asm to develop GUI under framebuffer environment Lawrence
2004-02-26  8:06 ` Frederic Marmond
     [not found]   ` <403FF536.1080807@hotpop.com>
2004-02-28 15:26     ` fmarmond
2004-02-29  1:45       ` Lawrence [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4041442F.1010604@hotpop.com \
    --to=lawrencio@hotpop.com \
    --cc=fmarmond@eprocess.fr \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.