查看完整版本 : 請問什麼是software driver 呢?

逍遙老僧 2023-2-1 11:05

我成日以為程式就是software。 咁什麼是driver 呢?

111x111=12321 2023-2-1 12:52

[quote]原帖由 [i]逍遙老僧[/i] 於 2023-2-1 11:05 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555657548&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
我成日以為程式就是software。 咁什麼是driver 呢? [/quote]
Software範圍大, 程式是其一、主要之一.
E.g. 我組合好一大堆相關而不同程式、及程式會便用的數據資料, 自動安裝,
因為都只是錄在CD/手指內, 抄給你、你毀掉又再抄, 是Software.
 
Driver是小程式, 連繫不同硬件, 很可能是不同牌子的硬件.
E.g. 以前upgrade Windows後, 有硬件用唔到, 要download新版drivers.
 
P.S. Drive, (不是driver) 是一類硬件, 專職明確.  E.g. Harddrive, 專職儲存數據資訊.

kormer 2023-2-1 17:51

driver是一個軟件用來推動硬件,通常是要被其他軟件呼叫。

逍遙老僧 2023-2-2 11:54

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-1 12:52 發表 [url=https://www.discuss.com.hk/redirect.php?goto=findpost&pid=555659922&ptid=30973487][img]https://www.discuss.com.hk/images/common/back.gif[/img][/url]

Software範圍大, 程式是其一、主要之一.
E.g. 我組合好一大堆相關而不同程式、及程式會便用的數據資料, 自動安裝,
因為都只是錄在CD/手指內, 抄給你、你毀掉又再抄, 是Software.
 
Driver是小程式, 連繫不同硬件, 很可能是不同牌子的硬件.
E.g. 以前upgrade Windows後, 有硬件用唔到, 要download新版drivers.
 
... [/quote]
請問寫driver 用什麼語言多呢?

111x111=12321 2023-2-2 13:26

[quote]原帖由 [i]逍遙老僧[/i] 於 2023-2-2 11:54 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555685963&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

請問寫driver 用什麼語言多呢? [/quote]
c 或(甚至) assembly.

rtrtrt2006 2023-2-8 23:14

[quote]原帖由 [i]111x111=12321[/i] 於 2-2-2023 13:26 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555687960&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

c 或(甚至) assembly. [/quote]
現在熱門用 [url=https://www.rust-lang.org/]Rust[/url] 和 [url=https://ziglang.org/]Zig[/url],Rust 比較熱門而 Zig 比較高速,C/C++ 的時代仍然未過去,未來仍有大量發展前景。

rtrtrt2006 2023-2-8 23:22

[quote]原帖由 [i]111x111=12321[/i] 於 1-2-2023 12:52 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555659922&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

Software範圍大, 程式是其一、主要之一.
E.g. 我組合好一大堆相關而不同程式、及程式會便用的數據資料, 自動安裝,
因為都只是錄在CD/手指內, 抄給你、你毀掉又再抄, 是Software.
 
Driver是小程式, 連繫不同硬件, 很可能是不同牌子的硬件.
E.g. 以前upgrade Windows後, 有硬件用唔到, 要download新版drivers.
 
... [/quote]
Software 泛指所有由代碼堆砌而成的成品或半成品,所以任何可指令處理器運作達至某些目的軟件都叫做 Software,但我們通常不過稱庫(Library)或一行至幾行的代碼叫做 Software,因為 Software 是一個總稱。查看維基定義如下:
[quote][url=https://en.wikipedia.org/wiki/Software][b]Software[/b][/url] is a set of [url=https://en.wikipedia.org/wiki/Computer_program]computer programs[/url] and associated [url=https://en.wikipedia.org/wiki/Software_documentation]documentation[/url] and [url=https://en.wikipedia.org/wiki/Data_(computing)]data[/url].[url=https://en.wikipedia.org/wiki/Software#cite_note-ISO_2020-1][1][/url] This is in contrast to [url=https://en.wikipedia.org/wiki/Computer_hardware]hardware[/url], from which the system is built and which actually performs the work.
軟件是一組計算機程序以及相關的文檔和數據。這與構建系統並實際執行工作的硬件形成對比。[/quote]

111x111=12321 2023-2-9 00:14

[quote]原帖由 [i]rtrtrt2006[/i] 於 2023-2-8 23:22 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555857242&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

Software 泛指所有由代碼堆砌而成的成品或半成品,所以任何可指令處理器運作達至某些目的軟件都叫做 Software,但我們通常不過稱庫(Library)或一行至幾行的代碼叫做 Software,因為 Software 是一個總稱。查看維基定義如下: [/quote]
嗯~ 很好, 謝謝補充. :handshake 
 
[b]這是較佳定義.[/b]
[b]定義不同於解釋及舉例[/b], 定義自足, 那麼需要有圈內基礎, 否則不明白用詞.
解釋針對疑問, 舉例不是定義然而凸顯特質的典型例子效用最大.
 
了解#1後, 小弟選擇解釋及舉例,
有個解答#1的重點 :  維基定義Software, 沒有程式二字.  (代碼正確, 卻與程式有差異)
//我成日以為程式就是software//

111x111=12321 2023-2-9 00:19

維基定義有個bug....
Software  :  ...所以任何可指令處理器運作達至某些目[color=Red]的軟件[/color]都叫做 Software...

Unknown reference / self reference / looping

alee001 2023-2-9 11:37

仲有樣嘢叫firmware植入chip用…

111x111=12321 2023-2-9 12:27

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 11:37 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555866079&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

仲有樣嘢叫firmware植入chip用… [/quote]
Firmware 是 software之一.

alee001 2023-2-9 13:00

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 12:27 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555867134&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

Firmware 是 software之一. [/quote]
觀念錯!software可以uninstall或唔install都運作到,firmware只可更新唔可以唔裝,冇咗晶片等於廢。

鄉貢仁 2023-2-9 13:17

八卦一下, 有無人知哩
個檔案裡面是甚麼 :smile_41: 
顯示女明星的DOS driver.
[url=https://justpaste.it/9wux3]女名星照片[/url]
[url=http://techref.massmind.org/techref/microchip/bmp2asm.htm]http://techref.massmind.org/techref/microchip/bmp2asm.htm[/url]

[[i] 本帖最後由 鄉貢仁 於 2023-2-9 15:01 編輯 [/i]]

111x111=12321 2023-2-9 14:18

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 13:00 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555867854&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

觀念錯!software可以uninstall或唔install都運作到,firmware只可更新唔可以唔裝,冇咗晶片等於廢。 [/quote]
"firmware"云云不是答題, 樓主不是問這個,
Software下面包好多野,  firmware並不典型, 純粹software之一.
Firmware可以作為例子既~
 
uninstall/install云云... [b][color=#000000]你自己誤會、閱讀理解錯誤, [/color][/b]
//E.g. 我組合好一大堆相關而不同程式、及程式會便用的數據資料, 自動安裝//
[b]我選擇舉例, [/b]你可以反駁Software不必一大堆、不一定不同、不一定有數據資料、可能要人手安裝..... 只係比較無聊.

 
廣義來講, Software需要安裝才能"便用":P, 最簡單的安裝是copy去適當的directory.
大把人拎住隻CD、手指, 或者收到mail attachment, 要問點先睇到、用到, 咪奉旨.
(Directory係PC例子, 不必鑽牛角尖, 一陣又話apple watch裡面沒有directory.)

111x111=12321 2023-2-9 14:22

// software可以uninstall或唔install都運作到
反而唔知你想講乜.

上句言下之意是該software有install/uninstall之設,
卻唔install都運作到?
uninstall又運作到? ........ 可能佢呃你, 扮unintall其實設計如此想留低, 唔少免費軟件不干不凈.

111x111=12321 2023-2-9 14:28

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 13:00 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555867854&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

觀念錯!software可以uninstall或唔install都運作到,firmware只可更新唔可以唔裝,冇咗晶片等於廢。 [/quote]
你以為「firmware只可更新唔可以唔裝,冇咗晶片等於廢」可以否定「Firmware 是 software之一」.
 
無法:smile_13: , 我唯有回覆您:您邏輯打晒棘.
冷靜後再想想..

alee001 2023-2-9 15:16

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 14:28 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555870130&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

你以為「firmware只可更新唔可以唔裝,冇咗晶片等於廢」可以否定「Firmware 是 software之一」.
 
無法:smile_13: , 我唯有回覆您:您邏輯打晒棘.
冷靜後再想想.. [/quote]
我唔係專家亦唔會扮識,但我唔會同你拗你所謂嘅定義,留待其他熟悉嘅C兄答你吧。:smile_45:

111x111=12321 2023-2-9 15:21

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 15:16 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555871095&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

我唔係專家亦唔會扮識,但我唔會同你拗你所謂嘅定義,留待其他熟悉嘅C兄答你吧。:smile_45: [/quote]
你根本無睇清楚各人留言, 片面誤讀下便急於要拗. :smile_39: 
閣下主動引我帖想作出反駁, 卻錯誤甚多.
 
定義是另有師兄提出,
我是 (See #8) 選擇「解釋及舉例」, 並沒有以「定義」回覆樓主 !

alee001 2023-2-9 15:30

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 15:21 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555871202&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

你根本無睇清楚各人留言, 片面誤讀下便急於要拗. :smile_39: 
閣下主動引我帖想作出反駁, 卻錯誤甚多.
 
定義是另有師兄提出,
我是 (See #8) 選擇「解釋及舉例」, 並沒有以「定義」回覆樓主 ! [/quote]
咁你對「Firmware 是 software之一」解釋下,可能大家都想聽你學嘢?!

111x111=12321 2023-2-9 15:36

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 15:30 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555871350&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

咁你對「Firmware 是 software之一」解釋下,可能大家都想聽你學嘢?! [/quote]
咪咁懶啦, Google is only some mouse clicks away....
首三:
 
 
 
韌體(英語:firmware),是一種嵌入在硬體裝置中的[color=#FF0000]軟體.....[/color]
 
[b][size=4]What is Firmware? Definition, Types and Examples - TechTarget[/size][/b]
Firmware is [color=#FF0000]software [/color]that....
[url=https://docs.f5ezcode.in/cs-basic/di-si-zhang-shi-jie-shi-zhi-zui-da-de-wu-jia-gong-si-du-shi-it-ju/4.3-ying-ni-fen-de-qing]
[/url][b][size=4]4.2 硬體、韌體與軟體,別傻傻分不清楚! - F5 學程式[/size][/b]
韌體:Firmware,特別指「用來驅動硬體進行作業」的[color=#FF0000]軟體.....[/color]

kormer 2023-2-9 15:48

firmware的確是軟體之一。通常硬件自帶的程式就是有firmware啦,該硬件如有操作系統的話,firmware可能就是它的《daemon》程序。

alee001 2023-2-9 16:15

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 15:36 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555871456&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

咪咁懶啦, Google is only some mouse clicks away....
首三:
 
 
 
韌體(英語:firmware),是一種嵌入在硬體裝置中的軟體.....
 
What is Firmware? Definition, Types and Examples - TechTarget
Firmware is software that....

... [/quote]
上網查係入都識啦,firmware係軟件(觀念上我搞錯)但係咪可以揀unintall或唔裝都行到或冇影響電腦呀?:smile_41:

111x111=12321 2023-2-9 16:33

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 16:15 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555872333&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

上網查係入都識啦,firmware係軟件(觀念上我搞錯)但係咪可以揀unintall或唔裝都行到或冇影響電腦呀?:smile_41: [/quote]
//上網查係入都識啦
係咩, 咁你呢? :smile_42:

alee001 2023-2-9 16:58

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 16:33 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555872729&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

//上網查係入都識啦
係咩, 咁你呢? :smile_42: [/quote]
有錯我會認但解釋我冇錯。:smile_45:

111x111=12321 2023-2-9 17:06

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 16:58 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555873238&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

有錯我會認但解釋我冇錯。:smile_45: [/quote]
係咩? :smile_42: 
 
//但我唔會同你拗你所謂嘅定義
我幾時出過Software or firmware or whatever 定義呢
 
 
你講過一次 :
// software可以uninstall或唔install都運作到
我唔知你想講乜.
我已經答過你,  :
//上句言下之意是該software有install/uninstall之設,
//卻唔install都運作到?
//uninstall又運作到? ........ 可能佢呃你, 扮unintall其實設計如此想留低, 唔少免費軟件不干不凈.
 
之後你卻追問過兩次, 唔知係度做乜.
又, 呢個係咪你呢?  -> [img]https://computer.discuss.com.hk/images/smilies/default2/smile_45.gif[/img] <-
係度做乜?  有無錯未埋單, 總之唔係有效思考、討論.


[COLOR=white]

[[i] 本帖最後由 111x111=12321 於 2023-2-9 17:14 編輯 [/i]]

alee001 2023-2-9 17:29

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 17:06 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555873464&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

係咩? :smile_42: 
 
//但我唔會同你拗你所謂嘅定義
我幾時出過Software or firmware or whatever 定義呢
 
 
你講過一次 :
// software可以uninstall或唔install都運作到
我唔知你想講乜.
我已經答過你,  :
//上句言下之意是該software有install/uninstall之設,
//卻 ... [/quote]
我只係搞錯firmware係software一種啫,我只係想指出佢哋分別,你唔洗同我講埋咁多冇意義嘅廢話喎…:smile_42: :smile_45:

111x111=12321 2023-2-9 17:37

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 17:29 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555873981&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

我只係搞錯firmware係software一種啫,我只係想指出佢哋分別,你唔洗同我講埋咁多冇意義嘅廢話喎…:smile_42: :smile_45: [/quote]
你又牛頭不對馬嘴, 不對題了.
 
你搞錯firmware係software一種一事, 我已經收到, 再無麻煩你.
然後你話你無其他錯誤, 我上帖就係數畀你睇, 當中無包括「firmware係software一種」一事.
 
你就Loop死嘞, 仲同我講埋好多冇意義嘅廢話tim~ [img]https://computer.discuss.com.hk/images/smilies/default2/smile_42.gif[/img]

alee001 2023-2-9 17:52

[quote]原帖由 [i]111x111=12321[/i] 於 2023-2-9 17:37 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555874165&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

你又牛頭不對馬嘴, 不對題了.
 
你搞錯firmware係software一種一事, 我已經收到, 再無麻煩你.
然後你話你無其他錯誤, 我上帖就係數畀你睇, 當中無包括「firmware係software一種」一事.
 
你就Loop死嘞, 仲同我講埋好多冇意義嘅廢話tim~ [img]https://computer.discuss.com.hk/images/smilies/default2/smile_42.gif[/img] [/quote]
多謝C兄指教,既然你咁執著唔阻你繼續數人不是。;P

111x111=12321 2023-2-9 18:14

[quote]原帖由 [i]alee001[/i] 於 2023-2-9 17:52 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=555874523&ptid=30973487][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]

多謝C兄指教,既然你咁執著唔阻你繼續數人不是。;P [/quote]
只係數你姐,
因為你宣稱有錯會認, 結果係唔認. :loveliness:
數清楚, 大家先知道原因.
原因係你當時或一直唔知道係錯.
其他人唔會咁樣. :handshake 
 
本來唔知道係錯都唔係大問題, 可以慢慢討論,
然而你一加入留言, 是基於自己錯誤而責怪別人, 之後仍然如此, 咁唔好. :smile_44:[COLOR=WHITE]

[[i] 本帖最後由 111x111=12321 於 2023-2-9 18:16 編輯 [/i]]

逍遙老僧 2023-2-9 22:30

[quote]原帖由 [i]rtrtrt2006[/i] 於 2023-2-8 23:14 發表 [url=https://www.discuss.com.hk/redirect.php?goto=findpost&pid=555857062&ptid=30973487][img]https://www.discuss.com.hk/images/common/back.gif[/img][/url]

現在熱門用 Rust 和 Zig,Rust 比較熱門而 Zig 比較高速,C/C++ 的時代仍然未過去,未來仍有大量發展前景。 [/quote]
我想學rust
頁: [1] 2
查看完整版本: 請問什麼是software driver 呢?