bios

Unable to keep a square a full square while moving it

僤鯓⒐⒋嵵緔 提交于 2019-12-01 22:54:09
I have been trying to draw a box in assembly and move it horizontally across the screen. The code of printing the square itself works for me but when I try to make it move it is not working very well. I can see it moving but not as a full square, if you get my point. My code: in Assembly Tasm STA SEGMENT STACK DB 0FFFeH DUP(?) STA ENDS DATA SEGMENT ;----------- ;VARIABLES HERE xpos dw 50h ypos dw 50h color db 9h constat equ 0ffffh siNum dw ? diNum dw ? numOFtime dw 0h ;------------- DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA,SS:STA START : MOV AX,DATA MOV DS,AX ;start coding here: mov ah, 0

开机流程介绍

我只是一个虾纸丫 提交于 2019-12-01 17:43:17
开机流程: 计算机中有BIOS与CMOS两个东西, CMOS是记录各项硬件参数且嵌入在主板上面的储存器,BIOS则是一个写入到主板上的一个韧体( 韧体就是写入到硬件上的一个软件程序)。这个BIOS就是在启动的时候,计算机系统会主动运行的第一个程序了! BIOS可以设置计算机中的硬件设备,我们以硬盘为例,BIOS会依据使用者的配置去取得能够启动的硬盘,并且到该硬盘里面去读取第一个磁区的MBR位置。 MBR占据446bytes的硬盘容量,其中放置了引导加载程序,而接下来就是MBR内的引导加载程序的工作了。 引导加载程序的目的是加载内核文件,由于引导加载程序是操作系统在安装的时候所提供的,所以它认识硬盘内的文件系统格式,因此就能够读取内核文件,然后接下来就是内核文件的工作,操作系统也就成功启动! 流程简述: BIOS ==> MBR ==> 引导加载程序 ==> 内核文件 1、BIOS:启动主动运行的韧体,会认识第一个可启动的装置。 2、MBR(主引导记录):第一个可启动装置的第一个磁区内的主要启动记录区块,内含启动管理程序。 3、启动管理程序(boot loader):可读取核心文件来运行的软件;grub(面向linux中)是最主流的boot loader。 4、核心文件:开始操作系统的功能。 MBR位于主引导扇区(即:0磁头0柱面的第一扇区),共有446bytes。

Windows10环境下通过虚拟机VMware12.5.9安装Linux Ubuntu16.04

陌路散爱 提交于 2019-12-01 16:59:12
摘要:本文主要通过使用虚拟机VMware12.5.9,在windows10环境下安装Linu系统Ubuntu16.04,并使用Xshell连接服务器进行远程控制。 1、下载安装虚拟机 网上虚拟机有很多软件,这里使用VMware 点击此处进入VMware官网下载 打开页面后,选择VMware的版本Version12.5.9,选择Windows 64位,开始下载 使用管理员身份打开安装文件exe 点击“下一步”,安装位置选择了E盘,一路“下一步”,等待安装完成 打开VMware Workstation 12 Player,选择非商业用途,填写邮箱,打开界面如下,虚拟机安装完成 2、下载Linux 进入ubuntu官网,选择ubuntu-16.04-desktop-amd64.iso下载 点击此处进入ubuntu官网下载 官网速度慢或者无法下载的话,可以使用百度网盘下载 链接: https://pan.baidu.com/s/17ckFHGhYBZUQ9P2IBaVpJw 提取码:o828 3、使用虚拟机VMware安装Linux 打开VMware Workstation 12 Player,点击“创建新虚拟机” 选择下载好的ubuntu镜像文件,点击“下一步” 填写名称(可以随意填写)、用户名、密码、确认密码,记住这些信息,后面登录需要用到,点击“下一步”

技嘉Z390 AORUS MASTER+酷睿I9超频5.0GHz教程

北慕城南 提交于 2019-12-01 15:34:35
注:调整每项值的时候,需要手动用键盘输入数字,按回车确定。(只按回车并不会出现选择项) Core i9-9900K也出来了一段时间了,这个号称“地表最强游戏U”也成了很多人最新的目标。网上也有大佬表示能将其超频至7GHz以上,不过我们小DIYer日常可玩不起这么恐怖的频率。今天就让我摸索一下Core i9-9900K在家用游戏机中的实用超频方法吧。 STEP1:频率设定 第一步当然是把冰箱门打开,开机按Del进入BIOS设定。进入Advanced Frequency Settings高级频率设定,找到Extreme Memory Profile(X.M.P)选项,加载内存自带的XMP预设配置文件,对内存进行自动超频。 方法/步骤 AORUS Z390 MASTER主板BISO设置 要知道主板的默认设置是配合CPU在正常状态下运行的,当我们要进行超频时,对CPU的供电就需要严格地控制,很多设置都需要更改。下面气味大师将手把手教大家怎么调节这块AORUS Z390 MASTER主板的BIOS设置,使其能更好地进行超频。 首先我们进入主板BIOS的高级设置区域,当然大家记得要提前更新最新版本的BIOS。在第一项M.I.T上就是与超频相关的选项,我们先进入“高级频率设定”。 进入这个页面后,首先要将“Enhanced Multi-Core Performance”选项关闭,然后进入下面的

Redfish技术介绍

三世轮回 提交于 2019-12-01 12:35:40
1.1 概述 Redfish是一种基于HTTPs服务的管理标准,利用RESTful接口实现设备管理。每个HTTPs操作都以UTF-8编码的JSON格式(JSON是一种key-value对的数据格式)提交或返回一个资源或结果,就像Web应用程序向浏览器返回HTML一样。该技术具有降低开发复杂性,易于实施、易于使用而且提供了可扩展性优势,为设计灵活性预留了空间。目前我们利用Redfish管理接口可以实现包括用户管理、获取服务器信息、管理模块信息等常用HDM和BIOS配置。 Redfish=REST API+软件定义的服务器(数据模型),当前由标准组织DMTF( www.dmtf.org )负责维护。 1.2 协议 在Redfish中,每个URL都代表一个资源,一个服务或一组资源。根据REST原则,使用统一资源标识符(URI)指向资源,客户端与资源进行交互。 资源的格式根据Redfish架构来定义,客户端再根据Redfish架构来确定正确的语义(Redfish语义被设计的非常直观)。 在Redfish中,所有资源都是从服务入口点(根)链接的,这个根始终位于/ redfish / v1。 主要资源类型以“collections”结构化,以支持独立,多节点或聚合的机架级系统,其他相关资源从这些集合中的成员中散开。 1.3 特点 在Redfish之前,现代数据中心环境缺少通用的管理标准

What is the name for a program running directly without an OS?

时光毁灭记忆、已成空白 提交于 2019-12-01 11:10:37
I'm having a lot of trouble expressing my questions properly when I'm trying to ask other questions on this topic, so what is the proper name for a program running directly on the machine in question? A term that could describe both a kernel, and a bootloader in the sense that they are being executed directly without an operating system? The C standard calls that a "free standing environment", which strikes me as about as good a term to use as most others I've seen. I would just use the term "standalone" because that's essentially what it's doing. Standing alone, without the benefit of an

9=3 磁盘存储与分区

陌路散爱 提交于 2019-12-01 09:49:53
磁盘存储与分区 设备文件 一切皆文件:open(), read(), write(), close() 设备类型: 块设备:block,存取单位“块”,磁盘 字符设备:char,存取单位“字符”,键盘 设备文件:关联至一个设备驱动程序,进而能够跟与之对应硬件设备进行通信 设备号码: 主设备号:major number, 标识设备类型 次设备号:minor number, 标识同一类型下的不同设备 磁盘设备的设备文件命名:/dev/DEV_FILE SCSI, SATA, SAS, IDE,USB: /dev/sd 虚拟磁盘:/dev/vd 、/dev/xvd 不同磁盘标识:a-z,aa,ab… /dev/sda, /dev/sdb, ... 同一设备上的不同分区:1,2, ... /dev/sda1, /dev/sda5 硬盘存储术语 head:磁头 track:磁道 sector:扇区,512bytes cylinder:柱面 并行: IDE:133MB/s SCSI:640MB/s 串口: SATA:6Gbps SAS:6Gbps USB:480MB/s 机械硬盘和固态硬盘 机械硬盘(HDD):Hard Disk Drive,即是传统普通硬盘,主要由:盘片,磁头,盘片转轴及控制电机,磁头控制器,数据转换器,接口,缓存等几个部分组成。机械硬盘中所有的盘片都装在一个旋转轴上

What is the name for a program running directly without an OS?

ⅰ亾dé卋堺 提交于 2019-12-01 09:34:04
问题 I'm having a lot of trouble expressing my questions properly when I'm trying to ask other questions on this topic, so what is the proper name for a program running directly on the machine in question? A term that could describe both a kernel, and a bootloader in the sense that they are being executed directly without an operating system? 回答1: The C standard calls that a "free standing environment", which strikes me as about as good a term to use as most others I've seen. 回答2: I would just use

No option to enable Hyper-V in my BIOS settings

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 09:18:34
I am new to Windows Phone 8 application development. I installed SDK 8.0. When I run my application, it shows an error telling me to enable Hyper-V. While searching, I found this MSDN documentation with a solution in the BIOS. But when go to my BIOS settings, then there are no such options available . Any suggestions? Step 1: Enable Virtualization in BIOS You need to enable Virtualization Technology (VTx) under the System Security option in the Security tab of your BIOS management menu. The option may not be called Virtualization Technology or have the term VTx or VT-x in it. It may be called

Is there a UUID type of value in Linux that can uniquely identify an instance of a VM?

岁酱吖の 提交于 2019-12-01 08:58:09
I have an app that runs in Linux. Each one will try to get a UUID from OS and report to a centralized server. I want to make sure all instance are running with globally unique UUID. If the linux is on bare metal, it can just read the UUID (say, from dmidecode command). But if it's on VM, the UUID (from dmidecode) can potentially be equal since the VM can be copied or moved. Any ideas? By the way, for Linux running on physical hardware (not on VM), if user changes memory, NIC etc, will UUID change? Thanks in advance. If the linux is on bare metal, it can just read the UUID (say, from dmidecode