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


Groups > comp.os.linux.misc > #33173

Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC?

From The Natural Philosopher <tnp@invalid.invalid>
Newsgroups comp.os.linux.misc
Subject Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC?
Date 2021-09-07 08:44 +0100
Organization A little, after lunch
Message-ID <sh759c$592$1@dont-email.me> (permalink)
References (12 earlier) <slrnsj7cac.nus.sc@scarpet42p.localdomain> <sh1vfr$nut$1@dont-email.me> <hcydnZYUt4CXyaj8nZ2dnUU7-I_NnZ2d@earthlink.com> <sh4gv3$hqp$3@dont-email.me> <iuSdnXwbb64-Y6v8nZ2dnUU7-R_NnZ2d@earthlink.com>

Show all headers | View raw


On 07/09/2021 06:54, SevenOverSix wrote:
> On 9/6/21 3:45 AM, The Natural Philosopher wrote:
>> On 06/09/2021 00:34, SixOverFive wrote:
>>> On 9/5/21 4:35 AM, The Natural Philosopher wrote:
>>
>>>>
>>>> Faced with lack of space in a 2K EPROM, I replaced all instances of
>>>> POP AX
>>>> POP BX
>>>> POP CX
>>>> POP DX
>>>> RET
>>>>
>>>> with
>>>> JMP STDEXIT
>>>>
>>>>
>>>> STDEXIT:
>>>> POP AX
>>>> POP BX
>>>> POP CX
>>>> POP DX
>>>> RET
>>>>
>>>> and gained the 64 bytes of PROM space I needed to include an 
>>>> extended BIOS.
>>>
>>>    So long as there aren't multiple threads going on you CAN
>>>    just clean up in one spot. If the eeprom was 2k this was
>>>    probably WAY before multithreading. The single-location
>>>    thing might also be vulnerable to some race conditions.
>>>    I'd worry if there were interrupt routines happening too.
>>
>> That code is thread proof
> 
>    Nope. It's context-dependent. WHOSE stack
>    are you popping from ?
> 
YOUR stack in THIS thread. Of course you do stack context switches in 
multithreading - but this doesn't affect code.

I don't think you understand stack frames properly. They are always 
private to the thread. That's the whole point, That's how you do 
multitasking

unsafe code is that which modifies memory or accesses memory which is 
NOT private to a thread.



>    Modern languages essentially have "stack frames", a
>    de-facto stack for every function/subroutine. The
>    old TI-9900 chips actually kinda rigged this in
>    hardware - each user had a 64k 'universe' of
>    their own.
> 
>    I would not even trust that code on a PIC or Arduino ...
>    which, though simple, MIGHT have an ISR running at the
>    instant. Sometimes functions really SHOULD clean up
>    their own messes and not try to leave it to others.
> 

I think you don not really undesrstand how interrupts work or what that 
code actually doe

>> it does not alter memory, only the state of the CPU
>>
>> Of course there were interrupts. This was a PC BIOS.
> 
>    I'm used to micro-controllers. They are far more
>    clear than a PC - no room or mechanism to hide
>    mistakes. My last "big" project was for Arduino/Atmel,
>    field dataloggers, and DID use several ISRs. The Stack
>    was NOT The Stack, but "Stacks". Had to deal with
>    everything within its own "context".
> 
Of course. I was doing what you are doing 30 years ago

Give me *some* credit for knowing how to code a multitasker and in 
interrupt service routine


-- 
In theory, there is no difference between theory and practice.
In practice, there is.
-- Yogi Berra

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is Debian still good for GUI stuff in an over 12 yrs. old PC? ant@zimage.comANT (Ant) - 2021-08-30 18:22 -0500
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Roger Blake <rogblake@iname.invalid> - 2021-08-31 00:14 +0000
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-08-30 17:57 -0700
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 04:39 +0100
    Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-08-31 15:19 +0200
      Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 14:34 +0100
        Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-08-31 16:16 +0200
          Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 15:47 +0100
            Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-08-31 18:54 +0200
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 17:59 +0100
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-08-31 11:52 -0700
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-09-01 04:21 +0000
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-08-31 01:07 -0400
    Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-08-31 11:01 +0200
      Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-08-31 11:01 -0400
        Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-01 11:07 +0200
          Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-09-01 07:55 -0400
            Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-01 13:10 +0100
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-01 23:58 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-02 13:04 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-03 01:56 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-03 08:44 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-03 11:22 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-04 00:31 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-04 10:56 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-09-04 11:44 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:04 -0700
                OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Rinaldi <rm@nunya.inv> - 2021-09-04 10:28 -0500
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:41 -0700
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-04 18:33 +0100
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 00:53 -0400
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-09-05 08:57 +0200
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-09-05 12:12 -0400
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 20:01 -0400
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:42 -0700
                Re: OT Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Bobbie Sellers <bliss@mouse-potato.com> - 2021-09-04 08:45 -0700
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-04 18:32 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-09-03 19:51 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-03 23:48 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-04 08:44 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 00:07 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-05 08:16 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-05 09:36 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-05 12:50 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Dan Espen <dan1espen@gmail.com> - 2021-09-05 09:33 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-04 11:22 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Joerg Lorenz <hugybear@gmx.ch> - 2021-09-04 11:46 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2021-09-04 17:47 +0000
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-05 09:35 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 19:34 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-06 02:14 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 08:43 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 08:45 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-07 01:54 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-07 08:44 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-08 01:36 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-08 07:46 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-09 01:53 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-09 07:41 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-10 01:52 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-08 08:46 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-08 10:57 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-08 12:12 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-08 13:06 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-08 13:29 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-09-08 14:17 +0300
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-09 02:04 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-09 07:46 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-10 02:51 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-10 09:49 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-11 02:03 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-11 07:19 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-11 08:32 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-12 00:17 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-12 09:09 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-12 23:43 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-12 11:33 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-09-06 11:08 +0300
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 09:24 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2021-09-06 12:38 +0300
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 12:21 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SevenOverSix <hae274c.net> - 2021-09-07 02:20 -0400
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Richard Kettlewell <invalid@invalid.invalid> - 2021-09-06 11:39 +0100
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-06 12:22 +0100
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-02 09:29 +0200
                Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-02 09:48 +0100
          Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-01 23:32 -0400
            Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-02 09:30 +0200
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-03 00:04 -0400
            Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2021-09-04 17:58 +0000
              Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? SixOverFive <hae274c.net> - 2021-09-05 00:22 -0400
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-08-31 10:59 +0200
    Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 10:46 +0100
      Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 10:50 +0100
        Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 10:57 +0100
      Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Marc Haber <mh+usenetspam1118@zugschl.us> - 2021-09-01 11:09 +0200
        Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-09-01 10:42 +0100
          Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? "Carlos E. R." <robin_listas@es.invalid> - 2021-09-01 13:47 +0200
            Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2021-09-04 18:09 +0000
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Andreas Kohlbach <ank@spamfence.net> - 2021-08-31 06:04 -0400
    Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? The Natural Philosopher <tnp@invalid.invalid> - 2021-08-31 11:42 +0100
  Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? TJ <TJ@noneofyour.business> - 2021-09-14 22:42 -0400
    Re: Is Debian still good for GUI stuff in an over 12 yrs. old PC? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2021-09-16 08:02 +0000

csiph-web