2016년 10월 27일 목요일

[OSI 7 Layer]계층별 장비

레벨

계층

기능

7 계층
Application

응용 계층
프로토콜:DHCP,DNS,FTP,HTTP
서비스 제공

사용자가 네트워크에 접근 할 수 있도록 해주는 계층이다. 사용자 인터페이스,전자우편,데이터베이스 관리 등 서비스를 제공한다. 텔넷 HTTP,SSH,FTP 등을 들 수 있다.

 

6 계층
Presentation

 

표현 계층
프로토콜:JPEG,MPEG,SMB,AFP
이해할 수 있는 포맷 변환.

운영체계의 한 부분으로 입력 또는 출력되는 데이터를 하나의 표현 형태로 변환한다.
필요한 번역을 수행하여 두 장치가 일관되게 전송 데이터를 서로 이해할 수 있도록 한다.
제어코드나 문자 및 그래픽등의 확장자를 생각하면 쉽다.

5 계층
Session

세션 계층
프로토콜:SSH,TLS
응용간의 질서 제어

통신 세션을 구성하는 계층으로 포트 연결이라고도 할 수 있다.
통신 장치 간의 상호작용을 설정하고 유지하며 동기화 한다.
사용자간의 포트연결이 유효한지 확인하고 설정한다.

4 계층
Transport

전송 계층
프로토콜:TCP,UDP,ARP
장비:게이트웨이

전체 메시지를 발신지 대 목적지(종단 대 종단)간 제어와 에러를 관리한다.
패킷들의 전송이 유효한지 확인하고 실패한 패킷은 다시 보내는 등 신뢰성 있는 통신을 보장하며, 머리말에는 세그먼트가 포함된다 대표적인 프로토콜은 TCP

3 계층
Network

네트워크 계층
프로토콜:IP,ICMP,IGMP
장비:라우터

다중 네트워크 링크에서 패킷을 발신지로 부터 목적지로 전달할 책임을 갖는다.
2계층은 노드대노드 전달을 감독하는 것이고 3계층은 각 패킷이 시작 시점에서 최종 목적지 까지 성공적이고 효과적으로 전달되도록하며,프로토콜은 ip

2 계층
Data link

데이터링크 계층
프로토콜:MAC,PPP
장비:브리지,스위치

오류없이 한 장치에서 다른 장치로 프레임을 전달하는 역할
스위치같은 장바의 경우 맥주소를 이용하여 정확한 장치로 정보전달,
3계층에서 정보를 받아 주소와 제어정보를 시작과 끝에 추가.

1 계층
Physica

물리계층
프로토콜:Ethernet RS-232C
장비:허브,리피터

물리적 매체를 비트 흐름을 전송하기 우히ㅐ 요구되는 기능들을 조정 케이블 연결 장치 등과 같은 기본적인 물리적 연결기의 전기적 명세를 정하고 네트워크의 두 노드를 물리적으로 연결시켜 주는 신호 방식을 다르다.

 
Source: http://l2j.co.kr/2589

2016년 6월 28일 화요일

Microsoft MS-DOS early source code

Software Gems: The Computer History Museum Historical Source Code Series

IBM did something very unusual for their 1981 personal computer

102716228p-03-01-01-300x224

Rather than using IBM proprietary components developed for their many other computers, the IBM PC used industry standard commercial parts. That included adopting the Intel 8088 microprocessor as the heart of the computer.

This “outsourcing” attitude extended to the software as well. Although IBM had prodigious internal software development resources, for the new PC they supported only operating systems that they did not themselves write, like CP/M-86 from Digital Research in Pacific Grove CA, and the Pascal-based P-System from the University of California in San Diego. But their favored OS was the newly-written PC DOS, commissioned by IBM from the five-year-old Seattle-based software company Microsoft.

When Microsoft signed the contract with IBM in November 1980, they had no such operating system. They too outsourced it, by first licensing then purchasing an operating system from Seattle Computer Products variously called QDOS (Quick and Dirty Operating System”) and 86-DOS.

IMG_19771-284x300

PC DOS version 1.0, which supported only floppy disks, was shipped when IBM first released their PC in August 1981. Microsoft then substantially rewrote the software to support subdirectories and hard disks; version 2.0 was released with the IBM PC-XT in March of 1983.

Microsoft retained the rights to the operating system and licensed it to other computer manufacturers, calling it MS-DOS. With the permission of Microsoft Corporation, the Computer History Museum is pleased to make available the source and object code to Microsoft’s MS-DOS operating system versions 1.1 and 2.0, for non-commercial use.

The zip file contains four subdirectories:

  • v11source: 7 assembler code files, and an explanatory email from Tim Paterson
  • v11object: 27 files, some binary programs and some sample programs
  • v20source: 118 text files, mostly assembler code and some documentation
  • v20object: 38 files, some binary and some documentation

To access this material, you must agree to the terms of the license displayed here, which permits only non-commercial use and does not give you the right to license it to third parties by posting copies elsewhere on the web.

Download Microsoft DOS V1.1 and V2.0 Source Code

Other historical source code releases in this series include IBM’s APL programming language, Apple II DOS, Adobe’s Photoshop, Apple Macpaint/QuickDraw, and Microsoft’s Word for Windows.  If you would like us to do more of this, please consider supporting the museum’s efforts by making a donation. We are a 501(c)3 non-profit organization.

 

More about the origins of MS-DOS

Starting from scratch: NOT

The most popular operating system for small microcomputers in the late 1970s was CP/M, written by Gary Kildall in about 1974 and marketed by the company he started, Digital Research, Inc.  IBM visited Digital Research in August 1980  – some say at the suggestion of Bill Gates – to investigate using “CP/M-86″, their upcoming version for the 16-bit Intel 8088/8086 processor, on the IBM PC then under development. But they were not able to agree on licensing terms, so IBM left and pursued other options.

TimPaterson1986-542x748
Tim Paterson in 1986

IBM had already contracted with Microsoft to provide a BASIC interpreter for the PC, so they asked them to investigate also providing the operating system. Microsoft proposed licensing “86-DOS”, which had been written by Tim Paterson at Seattle Computer Products (SCP) for their 8086-based computer kit because the 16-bit version of CP/M was late.

When SCP signed the licensing deal  [7] with Microsoft, they didn’t know for sure who the computer manufacturer was. Paterson said “We all had our suspicions that it was IBM that Microsoft was dealing with, but we didn’t know for sure.” [1]  He left SCP to work for Microsoft in 1981. “The first day on the job I walk through the door and ‘Hey! It’s IBM.’”

Microsoft originally licensed 86-DOS in December 1980 for a flat fee of $25,000. By the next summer they recognized the importance of owning it and being able to license it to other companies making IBM-PC clones, so they purchased all rights for an additional $50,000.

Over the next 11 months Paterson worked for Microsoft, interacting intensely with the IBM engineers developing the PC in Boca Raton, Florida. Version 1.0 of PC-DOS was complete in July 1981, one month before the announcement of the IBM PC.

SCP later sued Microsoft, claiming that they had concealed its relationship with IBM in order to purchase the operating system cheaply. SCP ultimately settled out of court for almost $1M.

 

MS-DOS ≠CP/M

There were many similarities between CP/M and MS-DOS. Inspired by the 8-bit CP/M, Paterson’s 16-bit operating system used similar commands and some of the same programming interfaces, but it was a different internal implementation and used different file storage formats.

At Digital Research, Gary Kildall’s opinion was that MS-DOS infringed on their copyrights for CP/M. He was furious, and confronted both Bill Gates at Microsoft and IBM, but his lawyer recommended against a lawsuit.  ”Rather than sue, Kildall agreed to license CP/M to Big Blue. But he was astounded that when the PC was released, IBM charged $240 per copy for CP/M, and only $40 for DOS.” [3] Needless to say, the Microsoft offering became the dominant operating system for the IBM PC.

Paterson denied any wrongdoing. “I told him [Kildall] I didn’t copy anything. I just took his printed documentation and did something that did the same thing.” [5]

Thirty years later, Bob Zeidman, a programmer and expert in software intellectual property cases, conducted a detailed forensic examination of the code of QDOS, CP/M and PC-DOS. His conclusion? “QDOS was absolutely not copied from CP/M, and MS-DOS showed no signs of copying either. Kildall’s accusations about Bill Gates were totally groundless.” [4]

 

From PC-DOS 1.0 to MS-DOS 2.0 and beyond

Version 1.0 of PC-DOS was released with the first IBM PC in August 1981. Version 1.1, which supported double-sided (320 KB) floppy disk drives, was released in May of 1982.

In the meantime, a team of Microsoft programmers that included company co-founder Paul Allen was working on a major revision to add hierarchical subdirectories, and to support the hard disks that would be available on the IBM PC-XT. DOS 2.0 was almost twice as big as DOS 1.0, using 28 Kbytes of memory instead of 12 Kbytes. It shipped in March 1983 with the PC-XT as PC-DOS 2.0, and was released to other computer manufacturers as MS-DOS 2.0.

MS-DOS continued to be enhanced until the late 1990s, by which time Windows and other advanced operating systems with graphical user interfaces had taken over.

 

What early versions MS-DOS did

An operating system that fits in 12 or 28 Kbytes of memory is very different from the large and complex operating systems we use  today.

DOS20_screenshot-542x519

MS-DOS was basically a file manager and a simple program loader. The user interface was text commands typed on a keyboard, followed by text responses displayed on the screen. There was no graphical output, and no mouse for input. Only one user application program could run at a time. File names were limited to 8 characters, plus a 3-character extension indicating the file type. There were commands like “dir” to list the files in a directory, and “del” to delete a file; you ran a program by typing the name of its executable file.

In addition to adding hierarchical directories and hard disk support, the rewritten version 2.0 included many other new features: installable device drivers to support the growing list of available peripheral devices such as printers, background processes (“terminate-and-stay-resident”) that allowed print spooling, redirection that allowed the output of one program to be the input to another, and support for 9-sector floppy disks that increased capacity from 320 KB to 360 KB.

Despite its primitive facilities, for fifteen years DOS was the bedrock upon which thousands of application programs running on millions of IBM PCs and PC clones depended.

 

Acknowledgements

I had the source code for version 2.0 on 5″ floppy disks in my attic for 30 years, but we needed Microsoft’s permission to release it. We are very grateful to Roy Levin, Managing Director of Microsoft Research, Silicon Valley, for working many months to make that happen.

But I didn’t have the source to the earlier version 1.1, and neither, apparently, did Microsoft. Just as I was finishing the first draft of this article, I received it directly from the author, Tim Paterson! We are grateful to Tim for sending it, and to Roy for quickly getting the additional permission needed to release it as well.

 

References


Source: http://www.computerhistory.org/atchm/microsoft-ms-dos-early-source-code/

2016년 6월 7일 화요일

퀄컴, 보드형 컴퓨터 시장 합류··· '무선 기능성이 특징'

IoT / 모바일 / 소비자IT / 신기술|미래

CIO KR

라즈베리 파이 이후 소형 보드형 컴퓨터들이 다수 등장했다. 퀄컴 또한 색다른 기능으로 무장한 저가 보드형 컴퓨터를 선보이며 이 시장에 합류했다.

드래곤보드 410C라는 이름의 이번 신제품은 신용카드보다 조금 더 큰 크기에 주요 구성품을 모두 담은 컴퓨터다.

특히 무선랜, 블루투스, 위치 추적 및 64비트 스냅드래곤 등 여타 저가형 보드 컴퓨터에서는 찾아볼 수 없는 기능을 다수 탑재하고 있다. 위치 추적 기능은 GPS와 매핑 기술을 조합한 아이재트(iZat)를 지원한다.

이로 인해 이번 보드는 로봇, 드론, 웨어러블 기기에 사용될 수 있을 전망이다. 과거 퀄컴이 개발한 고성능 개발자 보드는 과거 셀프-러닝 로봇 개발에 활용되기도 했었다.

신제품은 또 1080P를 지원하는 회사의 최신 아드리노 306 그래픽 프로세서를 내장했으며, 1,300만 화소의 카메라를 부착해 지원할 수 있다. 이 밖에 USB 포트, HDMI 슬롯, 마이크로SD 포트를 내장했으며 DDR3 메모리를 지원한다. 아울러 UART, SPI, 12S, 12C, GPIO 등의 핵심 확장 슬롯을 보유하고 있다.

회사는 여름께로 추정되는 이번 제품의 출시 시기와 관련해 구체적인 언급을 거부했다. 가격 또한 저렴한 수준일 것이라고만 밝혔다.

업계에서는 미화 35달러의 라즈베리 파이 2보다는 높을 것으로 추산하면서도 200달러 가격의 엔비디아 젯슨 TK1 등의 하이엔드 보드보다는 저렴할 것으로 관측하고 있다.

DragonBoard-001sm2-1024x681_500


출처: http://www.ciokorea.com/news/24413