View unanswered posts | View active topics It is currently Tue Apr 21, 2026 11:51 am



Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
 Raspberry Pi Discussion 
Author Message
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: Raspberry Pi Discussion
I agree lonestar. I would never write anything in c/c++ or even MFC, unless it was a graphics engine for a game or something like an anti-virus program that needs to hook into the operating system at very low levels.

One cool thing about c/c++ is that you could drop assembler code right in the middle of your program if you needed something to be more efficient.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Fri Apr 05, 2013 9:31 am
Profile ICQ YIM WWW
Ambassador

Joined: Wed Feb 28, 2001 3:00 am
Posts: 1410
Location: Boo! inc. Ireland
Unread post Re: Raspberry Pi Discussion
Cruncher wrote:

I wish they would teach assembly, or even just C. They are teaching C# using .Net at my community college.


Telix SALT is more or less C. Kill two birds with one stone - great TW scripting language plus 90 odd percent of the way to C proficiency if ya learn SALT! What a deal...

It has an undeserved reputation for being a difficult and overcomplicated language; it is not difficult, its just that the helpfiles aren't comprehensive (not alone there). The "overcomplicated" rep comes from early days when Telix was used primarily as a terminal program as opposed to a scripting language for such as TW.

Its freeware now. Anyone who wants to try it and has questions that they can't find answers to in the helpfiles, I'd be happy to assist.


Fri Apr 05, 2013 12:25 pm
Profile
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: Raspberry Pi Discussion
LoneStar wrote:
I think there's a free version of MicroSoft's Assembler (MASM), somewhere on the net. I still have it someone where on one of my Drives, if anyone's interested. I probably still have Borlands Turbo C/CPP as well (both for DOS). Not to mention a ton of Assembly related articles & utilities and such.

@Crunch. If you want to look under the hood of a Library, I'd suggest trying to write a Low-level one yourself first. I think you'll be glad that someone else already has.


We're still not very low level, but I can write my own Library class now. Currently in C# OOP class, next fall it's ASP.Net and SQL.

I understand what a library is, I know I should be thankful that I don't have to go to the trouble of all the minute details, but I'd still like to see something closer to the machine.

Something as simple as instantiation, right now it's just all memorization to "new-up" an object. We've been told that this means we're reserving in RAM the amount of memory this type of object needs in order to run.

You guys who know assembly, know that a pain in the butt it is, and how painful it was to learn, and those of us learning C# should probably be doing a "happy dance" that we don't have to go through that pain in order to get something to compile and run. But, you have a much deeper understanding of what's going on. I only copy code and hope it runs. I write a lot of pretty code that compiles but does not execute what I had hoped it would. I need more practice debugging...

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Fri Apr 05, 2013 2:44 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1401
Location: Canada
Unread post Re: Raspberry Pi Discussion
Cruncher wrote:
We're still not very low level, but I can write my own Library class now. Currently in C# OOP class, next fall it's ASP.Net and SQL.

I understand what a library is, I know I should be thankful that I don't have to go to the trouble of all the minute details, but I'd still like to see something closer to the machine.


Yeah.. that's what I'm talking about: Write your own Low Level routines/LIB. Even a LIB to switch the video mode of the display, draw lines, position pixels.. without using the BIOS.. that's what was talking about.

I'm sure you know that compilers do break everything down into Machine Langauge. But it you just want to peak at the machine level, find an Old DOS machine and run DEBUG, you can write a simple MOV AX, 4300 INT 21H ...or wahtever and step through the interupt routine and watch the Registers and pointers, etc. it's neat

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Fri Apr 05, 2013 2:53 pm
Profile ICQ YIM
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: Raspberry Pi Discussion
Cruncher wrote:
Something as simple as instantiation, right now it's just all memorization to "new-up" an object. We've been told that this means we're reserving in RAM the amount of memory this type of object needs in order to run.

In c/c++ you had to manually allocate memory, and you were in real trouble if you needed more than 16K.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Fri Apr 05, 2013 9:35 pm
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.