Results 1 to 3 of 3

Thread: Linux Developement

Hybrid View

  1. #1
    Member registered user
    Join Date
    Oct 2004
    Location
    My computer
    Posts
    35

    Linux Developement

    Ok, I first Downloaded Knoppix to get a taste of the linux environment. I have heard MANY times that linux and unix are much bettwr than windows... i wanted to be able to develope applications. In windows, accessing the API is a hastle that requires several tech manuals on the API and the DLL calls that windows supports them with.

    DLLs are also a hastle... since they run in shared memory in windows, ANY memory-heppy programmer can EASILY hack your programs simply by altering the return of a DLL call.

    Ok, not very secure. Never-the-less, it has been my developement environment for YEARS. I may only be 14, but i've been programming since i was 6 so i can say that i have been working there for years.

    Windows has a lot more support out there than linux, so that is why i waited so long to get linux. But knoppix had a forum specifically for it... i figured it would be better to get a version of linux that had support specifically for it.

    So here i am, i am no longer a newb, and i am wanting to begin developement. I found out recently, however, that C does not support graphics(no wonder my books didnt have it...), and i am not interested in learning how to use external libraries at the moment in C. I may be able to develope my own OS, much like DOS, with C alone, but it is not possible with C alone to do GFX.

    So now i begin my question. In order to do Grapfics in C, the best thing i could figure is that i use a DOS interrupt with inline assembler for the x86. If i can assign values to the flags CX & DX, and AX, and BX, and i can call an interrupt through assembler, while still running in C, i have everything i need to do graphics in C, so that i do not need to learn any of the languages available(long list in Kdevelope).

    Yes, i know some fortran, java, and pascal. Actually, i am not all that bad at them, but i am a C master, i do not want to master another language to accomplish what i want to do.

    I know that Qbasic(yup microsoft... first language i mastered) can use the CALL ABSOLUTE command to execute the hex codes, but i have 2 problems doing this in C:

    1. i DO NOT know how to use a CALL ABSOLUTE-like command in C
    2. i DO NOT know what tools to use to get the hex codes(debug in windows)

    Before you answer, read one more thing...
    I said earlier i was a C master, and yet i am asking a question on C. Well, it just so happens that ANSI C does NOT contain a command to do what i am trying to do. I am a master at EVERYTHING ANSI. In other words, i know only what is C and not what must come from elsewhere. Anything i ask here is NOT in my definition of a master C programmer...

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    Thats a little hard on the eyes. Could you sum up your questions?




    Wow, 14. Very impressive.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Have you seen this http://www.svgalib.org/jay/beginners...ers_guide.html
    Are you looking for a simple graphics package for your Linux system? If so, look no further. SVGAlib provides an easy way to create graphical applications and eliminates the rigmarole of the X Window System. If you have even the most rudimentary grasp of programming in C, then you can use SVGAlib.

    What is SVGAlib?

    SVGAlib is a low-level graphics library for Linux. It augments the C programming language, which doesn't provide support for graphics.

    But there are lots of graphics programs written in C!

    Yes, but they all rely on external library functions. C itself can only give you text. That's because all graphic functions are system dependent and are non-portable. Unfortunately, graphic routines coded for one operating system will not work under another unless they are completely rewritten. For example, graphics originally written for DOS or Windows are useless under Linux.

    To code graphics in C under Linux, it is necessary to use an external set of functions which are native to Linux. SVGAlib is one such set.

    How is SVGAlib different from the X Window System?
    ...

Similar Threads

  1. Replies: 2
    Last Post: 12-14-2005, 08:36 AM
  2. Able to dual boot XP and linux but Linux goes to GRUB, help
    By istoleapig in forum Hardware & Booting
    Replies: 2
    Last Post: 02-19-2005, 09:28 AM
  3. New to Linux and need to know how to become disturbum linux
    By ziggyrafiq in forum General Support
    Replies: 0
    Last Post: 09-12-2004, 10:40 PM
  4. Dizinha Linux, New project for "Small" Linux
    By Lame_Duck in forum Customising & Remastering
    Replies: 0
    Last Post: 02-08-2004, 05:19 PM
  5. Microsoft-Linux!(MS-Linux)
    By bongski55 in forum The Lounge
    Replies: 5
    Last Post: 12-08-2003, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lot of 88GB (22x4GB) ADVANTECH 1RX16 DDR4 PC4-2400U AQD-D4U4GN24-HP MEMORY RAM picture

Lot of 88GB (22x4GB) ADVANTECH 1RX16 DDR4 PC4-2400U AQD-D4U4GN24-HP MEMORY RAM

$286.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



Samsung M393A2K43DB3 16GB (1x16GB) RAM DDR4 3200MHz M393A2K43DB3 picture

Samsung M393A2K43DB3 16GB (1x16GB) RAM DDR4 3200MHz M393A2K43DB3

$89.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



64GB Kit (4x16GB) - 16GB DDR-4 3200AA MHz UDIMM Samsung M378A2G43AB3-CWE Tested picture

64GB Kit (4x16GB) - 16GB DDR-4 3200AA MHz UDIMM Samsung M378A2G43AB3-CWE Tested

$255.00



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00



Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory picture

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory

$189.00



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



ADATA XPG Spectrix White RGB AX4U320038G16-BW41 32GB DDR4 matching set of 8GB picture

ADATA XPG Spectrix White RGB AX4U320038G16-BW41 32GB DDR4 matching set of 8GB

$149.99