The Best Cyprus Community

Skip to content


ipad vs android

Feel free to talk about anything that you want.

Re: ipad vs android

Postby Sotos » Wed Nov 21, 2012 10:35 am

Wow .. GR can copy paste code from 1989!! He must be really smart :lol: So GR.. tell me one useful thing YOU can actually do with assembly today.
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Re: ipad vs android

Postby Get Real! » Wed Nov 21, 2012 10:38 am

Sotos wrote:Wow .. GR can copy paste code from 1989!! He must be really smart :lol: So GR.. tell me one useful thing YOU can actually do with assembly today.

Read my previous message Sotos just after the source code post.
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: ipad vs android

Postby Sotos » Wed Nov 21, 2012 10:50 am

Get Real! wrote:Sotos, without Assembly language there would be no operating systems like Windows and there would be no device drivers to setup your hardware!

In other words you’d turn on a computer and nothing would happen! :lol:

I don’t know which Uni you went to mate but you couldn’t have been paying much attention in class!

:lol: :lol: :lol:


Most of Windows was written in C/C++ ... you think they could write a whole modern OS using Assembly? :lol: I am not saying that Assembly is totally useless ... I am saying that YOU can't do anything useful with it today. Here is a challenge for you. Since you claim you can write device drivers how about writing 64bit drivers for my Canon scanner that doesn't work in windows 7 because Canon didn't make drivers for it? If you accept the challenge then I will send you the details of the scanner. If you complete the challenge successfully then I and am sure all others here will accept that you are not totally clueless and that you have some skills that are still relevant in the 21st century ;)
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Re: ipad vs android

Postby Get Real! » Wed Nov 21, 2012 10:59 am

Sotos, listen carefully… (very quickly)

ALL OPERATING SYSTEMS MUST START IN ASSEMBLY LANGUAGE

…because there is NOTHING to communicate with the system (at that level) but VOID!

You’ve got to write a “bootstrap loader” in Assembly language that the BIOS looks for to fire up and pass command to.

This boot loader is what we call a binary STUB that kick-starts very basic handshaking with the computer system. Windows has one too or it would never fire up!

Once Windows takes over the system with this primitive but very essential loader, it can then start to load other portions of itself in memory that are written in a 3GL etc.
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: ipad vs android

Postby Sotos » Wed Nov 21, 2012 11:03 am

I never tried to write a windows driver but after a quick search I came up with this
http://www.osronline.com/article.cfm?article=20#Q25
What Language Can I Write Drivers In?

You write drivers for Windows in either C or C++. Support for using C++ is tenuous (click here to download an interesting paper on this topic written by one of the Microsoft kernel devs), but it can be done. Don't even think about trying to use another language. All the functions and data types are only defined in C/C++ header files. There are no assembly language definitions provided, so you can't use assembly language, either.


Seems like GR was talking bullshit when he said that you need assembly to write windows drivers! :roll: Maybe he is stuck in the DOS era? :lol:
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Re: ipad vs android

Postby Sotos » Wed Nov 21, 2012 11:12 am

Get Real! wrote:Sotos, listen carefully… (very quickly)

ALL OPERATING SYSTEMS MUST START IN ASSEMBLY LANGUAGE

…because there is NOTHING to communicate with the system (at that level) but VOID!

You’ve got to write a “bootstrap loader” in Assembly language that the BIOS looks for to fire up and pass command to.

This boot loader is what we call a binary STUB that kick-starts very basic handshaking with the computer system. Windows has one too or it would never fire up!

Once Windows takes over the system with this primitive but very essential loader, it can then start to load other portions of itself in memory that are written in a 3GL etc.


I will not bother to check the validity of what you say... but the question is are YOU writing an Operating System? You started this discussion to put down ARM CPUs... if you knew how to develop for iOS or Android you could actually make some things that are actually useful today on some really powerful CPUs ... your assembly code from 1989 running on ancient 80286 doesn't even worth 2 cents today. So really ... why do I even bother to have this stupid discussion with you? I must have a lot of time to waste :lol:
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Re: ipad vs android

Postby Get Real! » Wed Nov 21, 2012 11:22 am

Sotos wrote:Here is a challenge for you. Since you claim you can write device drivers how about writing 64bit drivers for my Canon scanner that doesn't work in windows 7 because Canon didn't make drivers for it? If you accept the challenge then I will send you the details of the scanner. If you complete the challenge successfully then I and am sure all others here will accept that you are not totally clueless and that you have some skills that are still relevant in the 21st century ;)

Sotos, if I manage to get your scanner to work in Windows 7-64bit what I demand of you in return is that I come to Limassol and together we drive to the shop where you’ll hand back your computer and tell them you’re too stupid to own one!

Is that a deal?
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: ipad vs android

Postby Get Real! » Wed Nov 21, 2012 11:29 am

Sotos wrote:... but the question is are YOU writing an Operating System? You started this discussion to put down ARM CPUs... if you knew how to develop for iOS or Android you could actually make some things that are actually useful today on some really powerful CPUs ... your assembly code from 1989 running on ancient 80286 doesn't even worth 2 cents today. So really ... why do I even bother to have this stupid discussion with you? I must have a lot of time to waste :lol:

You seem to be moving the goal posts all the time! Now I'm expected to write an operating system to satisfy Sotos! :roll:

If you had an ounce of dignity you’d apologize for all your stupid remarks and acknowledge your inferior knowledge on the subject.
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: ipad vs android

Postby Sotos » Wed Nov 21, 2012 12:33 pm

Get Real! wrote:
Sotos wrote:Here is a challenge for you. Since you claim you can write device drivers how about writing 64bit drivers for my Canon scanner that doesn't work in windows 7 because Canon didn't make drivers for it? If you accept the challenge then I will send you the details of the scanner. If you complete the challenge successfully then I and am sure all others here will accept that you are not totally clueless and that you have some skills that are still relevant in the 21st century ;)

Sotos, if I manage to get your scanner to work in Windows 7-64bit what I demand of you in return is that I come to Limassol and together we drive to the shop where you’ll hand back your computer and tell them you’re too stupid to own one!

Is that a deal?


Sure it is. But you need to prove that you wrote the driver yourself using your assembly language "skills" ;) And I already showed to you that Windows drivers are now written with C and C++ ... so basically you lost the case already and you made a fool of yourself again ;) It is not about me having that old scanner working. I could get it working by buying some software that included drivers that reportedly would make it work. I didn't bother because I bought a new scanner really cheap. This was all about you showing that your 1980s "skills" of assembly can have some use today... you said that it could be used to write windows drivers so I thought to give you a challenge... but apparently you were talking bullshit as always and assembly is not used to write windows drivers anymore ;)
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Re: ipad vs android

Postby Sotos » Wed Nov 21, 2012 12:43 pm

Get Real! wrote:
Sotos wrote:... but the question is are YOU writing an Operating System? You started this discussion to put down ARM CPUs... if you knew how to develop for iOS or Android you could actually make some things that are actually useful today on some really powerful CPUs ... your assembly code from 1989 running on ancient 80286 doesn't even worth 2 cents today. So really ... why do I even bother to have this stupid discussion with you? I must have a lot of time to waste :lol:

You seem to be moving the goal posts all the time! Now I'm expected to write an operating system to satisfy Sotos! :roll:

If you had an ounce of dignity you’d apologize for all your stupid remarks and acknowledge your inferior knowledge on the subject.


Inferior knowledge on what subject? Writing assembly code that would work with 80286 in the era of DOS? :lol: OK GR ... I admit you have more knowledge than me on that subject ... congratulations :lol: But those few skills that you had in the 80s are practically useless today. What is relevant today includes things like ARM CPUs on mobile devices ...not your useless 80286 ;) So give up your bullish about your 80286 being better than an ARM CPU on a modern mobile device and lets get back to the topic ;)
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

PreviousNext

Return to General Chat

Who is online

Users browsing this forum: No registered users and 0 guests