Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Notices by Bernie (codewiz@mstdn.io), page 67

  1. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 21:34:35 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    FUNCTION: Lisp was ahead of its time, with first-class functions in the '60s.

    My first encounter with functions was in BASIC. The Commodore dialect had built-in functions such as SIN(X), and supported a limited form of user-defined functions with a single argument and a one-line expression:

    DEF FN TRIPLE(X) = X*3

    Calls could nest:

    PRINT FN TRIPLE(FN TRIPLE(5) + 1)

    @srevinsaju #programming #retrocomputing

    In conversation Sunday, 29-Jan-2023 21:34:35 UTC from mstdn.io permalink
  2. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 21:08:21 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    PROCEDURE: ALGOL 60, the precursor of all modern procedural languages, including C, introduced the concept of passing arguments to subroutines. Argument passing used the awkward "call-by-name", but the VALUE keyword let you override it. There were no pointers and no references yet.

    Modern calling conventions pass the first N arguments in registers, and push the rest on the stack. This is what you'd use in your 8086 asm.

    @srevinsaju #programming #asm #retrocomputing

    In conversation Sunday, 29-Jan-2023 21:08:21 UTC from mstdn.io permalink
  3. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 20:45:39 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    SUBROUTINE: a routine designed to be called from multiple locations and return to the caller.

    Late 1970s CPU designs supported this programming model by adding a stack pointer register (SP) and dedicated opcode pairs like JSR/RTS (m68k) and CALL/RET (x86).

    @srevinsaju #programming #asm

    In conversation Sunday, 29-Jan-2023 20:45:39 UTC from mstdn.io permalink
  4. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 20:42:44 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    @srevinsaju Ok, there's no official naming convention, but this is how early programming languages progressed:

    ROUTINE: a block of instructions that accomplishes a task. You can JMP to it and it doesn't necessarily return (e.g.: "the init routine jumps to the loader routine, which jumps to the main screen routine...")

    In conversation Sunday, 29-Jan-2023 20:42:44 UTC from mstdn.io permalink
  5. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 20:25:47 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    This is part my first open source project, a GUI tracker and module format converter.

    I never managed to finish it, and now it seems silly to spend time rewriting the entire C startup code in assembly, when it's not at all performance critical.

    But that's how kids learn!

    @srevinsaju #programming #asm

    In conversation Sunday, 29-Jan-2023 20:25:47 UTC from mstdn.io permalink
  6. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 20:20:22 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    @srevinsaju Here's some Motorola 68000 #asm I wrote long ago for the #Amiga:
    https://www.codewiz.org/projects/amiga/XModule/XModuleSrc/Startup.asm

    How does it look compared to 8086 asm?

    In conversation Sunday, 29-Jan-2023 20:20:22 UTC from mstdn.io permalink

    Attachments


  7. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 20:08:50 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    @srevinsaju Looks like it's still actively developed:
    https://github.com/netwide-assembler/nasm

    I never used nasm because it came from the DOS/Windows world and uses the Intel syntax (as opposed to the AT&T syntax, which is standard in UNIX/Linux toolchains).

    #assembly #programming #retrocomputing

    In conversation Sunday, 29-Jan-2023 20:08:50 UTC from mstdn.io permalink

    Attachments


  8. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 19:33:46 UTC Bernie Bernie

    How C++23 changes the way we write code
    https://www.youtube.com/watch?v=QyFVoYcaORg
    #cpp #programming

    In conversation Sunday, 29-Jan-2023 19:33:46 UTC from mstdn.io permalink

    Attachments

    1. How C++23 changes the way we write code - Timur Doumler - Meeting C++ 2022
      from Meeting Cpp
      How C++23 changes the way we write code - Timur Doumler - Meeting C++ 2022Slides: https://slides.meetingcpp.comSurvey: https://survey.meetingcpp.comC++20 was...
  9. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 05:05:10 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    @srevinsaju Now you can read the source code of LILO, a PC MBR boooader that was used by Linux distros for several years before GRUB took over:
    https://github.com/iamroot-x86-10/lilo-21.4.4/blob/master/first.S

    In conversation Sunday, 29-Jan-2023 05:05:10 UTC from mstdn.io permalink

    Attachments

    1. lilo-21.4.4/first.S at master ยท iamroot-x86-10/lilo-21.4.4
      Contribute to iamroot-x86-10/lilo-21.4.4 development by creating an account on GitHub.
  10. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 04:59:33 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    @srevinsaju Which assembler are you using? I've never seen square brackets for assembler.dorextives. The traditional UNIX as as.wellcas gas uses . to introduce directives: https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html

    In conversation Sunday, 29-Jan-2023 04:59:33 UTC from mstdn.io permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Using as - Assembler Directives
  11. Bernie (codewiz@mstdn.io)'s status on Sunday, 29-Jan-2023 04:55:50 UTC Bernie Bernie
    in reply to
    • Srevin Saju

    @srevinsaju I called them routines, or sometimes subroutines. Procedure is jargon from early procedural languages, such as Pascal.

    In conversation Sunday, 29-Jan-2023 04:55:50 UTC from mstdn.io permalink
  12. Bernie (codewiz@mstdn.io)'s status on Wednesday, 25-Jan-2023 20:57:17 UTC Bernie Bernie
    in reply to
    • nirik :fedora: :redhat:

    @nirik I ran into this just now, as rpm refused to upgrade or *uninstall* the google-chrome-unstable package.

    In conversation Wednesday, 25-Jan-2023 20:57:17 UTC from mstdn.io permalink
  13. Bernie (codewiz@mstdn.io)'s status on Wednesday, 25-Jan-2023 18:35:31 UTC Bernie Bernie
    in reply to

    Fedora 38 will branch from Rawhide in about 2 weeks...

    https://fedorapeople.org/groups/schedule/f-38/f-38-devel-tasks.html
    #fedora #linux

    In conversation Wednesday, 25-Jan-2023 18:35:31 UTC from mstdn.io permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Fedora Linux 38 Schedule: Development
  14. Bernie (codewiz@mstdn.io)'s status on Wednesday, 25-Jan-2023 18:29:09 UTC Bernie Bernie

    Huge #Fedora #Rawhide mass rebuild!

    In conversation Wednesday, 25-Jan-2023 18:29:09 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/751/258/201/035/278/original/d3d05e1bb8116a02.png
  15. Bernie (codewiz@mstdn.io)'s status on Wednesday, 25-Jan-2023 06:14:09 UTC Bernie Bernie
    in reply to
    • Wesley Moore

    @wezm Welcome! ๐Ÿ‘‹

    In conversation Wednesday, 25-Jan-2023 06:14:09 UTC from mstdn.io permalink
  16. Bernie (codewiz@mstdn.io)'s status on Monday, 23-Jan-2023 10:42:26 UTC Bernie Bernie

    I never heard it in real life, but sometimes anime characters with a cool personality say ใ‚ใ–ใƒผใ™ (azassu), an extreme contraction of ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™ (arigatล gozaimasu).

    It's slang, but it's supposedly still polite.

    #japanese #anime

    In conversation Monday, 23-Jan-2023 10:42:26 UTC from mstdn.io permalink
  17. Bernie (codewiz@mstdn.io)'s status on Sunday, 22-Jan-2023 10:21:12 UTC Bernie Bernie

    #KDE #Plasma 5.27 Beta released with tiling window management, improved multi-monitor support, #Flatpak app permission editor and more.

    https://kde.org/announcements/plasma/5/5.26.90/

    In conversation Sunday, 22-Jan-2023 10:21:12 UTC from mstdn.io permalink
  18. Bernie (codewiz@mstdn.io)'s status on Thursday, 19-Jan-2023 08:22:27 UTC Bernie Bernie
    in reply to
    • Benoit

    @benoit TIL there are also ladies-only suppositories! ๐Ÿซข

    In conversation Thursday, 19-Jan-2023 08:22:27 UTC from mstdn.io permalink
  19. Bernie (codewiz@mstdn.io)'s status on Tuesday, 17-Jan-2023 05:24:50 UTC Bernie Bernie
    in reply to

    Though the Brain Dance is really cool.

    It's reminiscent of Inception and Source Code, but very well executed.

    #cyberpunk

    In conversation Tuesday, 17-Jan-2023 05:24:50 UTC from mstdn.io permalink
  20. Bernie (codewiz@mstdn.io)'s status on Tuesday, 17-Jan-2023 03:56:23 UTC Bernie Bernie
    in reply to

    There's a lot of story... A LOT! But it's all cyberpunk clichรฉ, and you can keep making progress by selecting the default answers in all conversations and walking towards the next goal marker.

    You can also explore around a little bit to collect stuff, but ultimately you gotta follow the pre-baked story line.

    In conversation Tuesday, 17-Jan-2023 03:56:23 UTC from mstdn.io permalink
  • After
  • Before

User actions

    Bernie

    Bernie

    ๐Ÿ‡ฎ๐Ÿ‡น โ†’ ๐Ÿ‡บ๐Ÿ‡ธ โ†’ ๐Ÿ‡ฏ๐Ÿ‡ต โ†’ ๐Ÿ‡น๐Ÿ‡ญ โ†’ ๐Ÿš€Nomadic Linux developer, currently in Los Angeles.#linux #rust #anime #spacex #cycling #travel #vegan #retrocomputing #amiga #fedi22๐‘จ๐‘ด๐‘ฐ๐‘ฎ๐‘จ :amiga:

    Tags
    • (None)
    WebSub
    Pending
    ActivityPub
    Remote Profile

    Following 0

      Followers 1

      • Galip (Inactive)

      Groups 0

        Statistics

        User ID
        7840
        Member since
        27 Jan 2018
        Notices
        6555
        Daily average
        2

        Feeds

        • Atom
        • Help
        • About
        • FAQ
        • Privacy
        • Source
        • Version
        • Contact

        Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

        Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.