Saturday, September 25, 2010

Compilation of various source - frespace



; Frespace.ASM 10/04/84 gwf
;
;
;
; CALL FRESPACE (AH, AL, BH, BL, CH, CL). CL SHOULD BE 0 for default
; Drive 1 for A, 2 for B, 3 for C, etc. The value of the
; Other variables does not matter. They will come back
; With a meaningful value.
;
; AN EXAMPLE PROGRAM:
;
; 10 defint a-z
; 20 color 7,1: cls
; 30 test1 = 1: ah = 0: al = 0: bh = 0: ch = 0: cl = 1: test2 = 2
; 35 INPUT "DRIVE 0 = DEFAULT, 1 = A, 2 = B, 3 = C"; CL
; 37 PRINT "JUST BEFORE CALL"
; 40 CALL FRESPACE (AH, AL, BH, BL, CH, CL)
; 45 PRINT "JUST AFTER CALL"
; 50 PRINT "AH ="; AH; "AL ="; AL; "BH ="; BH; "BL ="; BL; "CH ="; CH; "CL = "; CL;
; 60 UFREE! = 256 * AH + AL
; 70 UBYTES! = 256 * BH + BL
; 80 USECTOR! = 256 * CH + CL
; 90 PRINT "UFREE! ="; UFREE!; "UBYTES! ="; UBYTES!; "USECTOR! ="; USECTOR!
; 100 FRESPACE! = UFREE! * UBYTES! * USECTOR!
; 110 PRINT "FRESPACE! ="; FRESPACE!
; 120 PRINT "THIS SHOULD BE 1", TEST1
; 130 PRINT "THIS SHOULD BE 2", TEST2
;

get_spa equ 36h; Get disk free space function call
doscall equ 21h; DOS interrupt number

dgroup group datarea
datarea segment para public''DATA''

ah_ret dw?; ah to be sent back
al_ret dw?; al to be sent back
bh_ret dw?; bh to be sent back
bl_ret dw?; bl to be sent back
ch_ret dw?; ch to be sent back
cl_ret dw?; cl to be sent back

datarea ENDS
;
cseg segment''CODE''
assume cs: cseg
public frespace
frespace proc far
push bp; BP from BASIC
mov bp, sp; set base for parm list
push ds; DS from basic work area
push es; ES from basic work area
mov ax, datarea; establish data addressability
mov ds, ax; now DS is local data
assume ds: datarea
;
;
;
;
push bp
sub ax, ax
mov si, ss: [bp +6]; get addr of parameter
mov al, es: [si]; get value of parm
mov dx, ax; dl contains the drive number on call
; Dh will be zero
mov ah, get_spa; get space function number
int doscall; Call DOS

; Move the values into local work area to prepare to send back to basic
xchg dx, ax; must have a word. Want to zero out DH.
sub ax, ax; produce the zero
xchg dx, ax; DX is now zero.
; DH is what we really want as zero.

mov dl, ah; want to send back a byte
mov ah_ret, dx; prepare to return ah

mov dl, al; want to send back a byte
mov al_ret, dx; prepare to return al

mov dl, bh; want to send back a byte
mov bh_ret, dx; prepare to return bh

mov dl, bl; want to send back a byte
mov bl_ret, dx; prepare to return bl

mov dl, ch; want to send back a byte
mov ch_ret, dx; prepare to return ch

mov dl, cl; want to send back a byte
mov cl_ret, dx; prepare to return cl


; Go back
pop bp; get back Basic''s workspace
mov ax, cl_ret
mov si, ss: [bp +6]
mov es: [si], ax; return cl

mov ax, ch_ret
mov si, ss: [bp +8]
mov es: [si], ax; return ch

mov ax, bl_ret
mov si, ss: [bp +10]
mov es: [si], ax; return bl

mov ax, bh_ret
mov si, ss: [bp +12]
mov es: [si], ax; return bh

mov ax, al_ret
mov si, ss: [bp +14]
mov es: [si], ax; return al

mov ax, ah_ret
mov si, ss: [bp +16]
mov es: [si], ax; return ah
;
pop es
pop ds
pop bp
ret 12; return to basic 6 parameters were sent
frespace endp
;------------------------------------------------- ----------------------
cseg ends
end; end for assembler








Recommended links:



My favorite Fax Tools



VC environment created in the symbian build EXE PROJECT questions



Semiconductor India vied with New Deal



Infomation Vertical Market Apps



Hiddink looking like the kind of CEO



weaver Signed a contract in yining city



Landscape engineering COMPANY in Yantai in hand Weaver



3G2 to MOV



MKV To MP4



Full Clean Up Of Floating



Talent On: A New Maxima



My favorite Anti-Virus Tools



Availability Of The Indicator, The User Experience Is The Goal, UCD Is Thought



RMVB to MP4



Lay the foundation for the bug prevention [2]



Thursday, September 16, 2010

Wang Wenjing's plan and action



By the end of September 2007, the British management guru Charles Handy visited the base in Beijing Yongfeng UF Software Park, Software Park, UF has shown Handy Weather for surprise, his entourage said: "If I were you, I Purchase this company on the stock. "UF Software Park covers an area of 200 mu 1, now completed only 1 / 3, 2 planning area has over 200 acres. By UF 1.133 billion yuan in 2006 to count the size of business, upon the completion of UF Software Park could host the size of at least 10 times now. Obviously, UF Group CEO Wang Wenjing these resources can never be vacant, he was also very clear that the new UF must develop a new platform.

October 15, 2007 to 18, Wang Wenjing, and UF's executives get together for a whole 4-day will be. The core issue is how the arrival of new business model: "Our internal to the transformation of the business model called the shift from product management customer management, from product orientation to become customer-oriented. In addition to product, we have continued to provide a comprehensive service system, a long-term partnership. "and around this business transformation, UF needs to build from a set of corresponding with their overall business system. Of this transformation, Wang Wenjing placed great expectations: "the transition to the use of ERP financial software company, from Friends of ERP management software company into a scale of over 10 billion yuan from 100 million yuan; if the transition is successful, will most likely push the scale of our business to another order of magnitude. "

At the same time, frequently heard recently conducted by UF and Microsoft will cooperate in depth information. November 6, Microsoft CEO Steve Ballmer a brief visit to China, Wang Wenjing is the only meeting with him this time to China's software business partners, more such rumors covered with a hazy appearance.

In 2007, UF software objects to the incentive shares granted to 1797, occupied by Friends of the software, 8% of the total share capital. Grant price of 18.17 yuan / share (share price at 50 yuan UF), senior vice president of all the holders of all shares of UF, a total of 800 employees in the equity incentive UF benefit. This equity issue has been paying close attention to the Wang Wenjing is the first time.

There are indications that Wang Wenjing UF for themselves and established a higher target. Always provide tempting people suspected of serious impression of Wang Wenjing steady if somewhat sit still. But Wang Wenjing, he felt everything is a natural choice, he does not think its a change occurred, or dazzled by something does not make good sense.

Before making any decisions

In Wang Wenjing view, he felt himself has been acting in this way: "From a good government agency out of business in the eyes of outsiders is a great change; in 1989 I had a great at the time seemed 'Two-hundred Plan', the company's turnover reached 100 million, the number of customers reached 100; then later I proposed to the management software transformation, China's largest management software company; we listed in 2001, but prior to 7 years the distance from the listed company when there is a big gap, I proposed target market. "

In 1999, Wang Wenjing, and when he was general manager of Guo Xinping visit Microsoft's Software Park, a great shock to Wang Wenjing. Came out from Microsoft, the two began to discuss one thing, when a UF was small, but Wang Wenjing, or immediately to build a software like Microsoft's future as a park plan put on the agenda . After several years of gradual implementation, until now a dream come true.

He has been accustomed to give themselves a little bit now seems distant goals, in his view, did not achieve the target, and there is no great difference between the objectives: "to establish a goal and work hard towards this goal, This is a state of drift is better than no goals. "

Wang Wenjing have admitted their shortcomings are too rational, always think twice. He did most of the decision-making has a "clear direction to pave the way from then to vigorously promote the" process, basically a complete new strategy at least three or four years, such a long time in a rapidly changing environment a software company seems inconceivable. But so far, UF has not fallen behind rivals, but always in the local management software company maintained boss's seat, indicating that Wang Wenjing in the "too rational shortcomings," but also some other advantages, such as his keen to judge the market and forward.

UF Yang Jian, general manager of mobile business recently became aware of one thing, Wang Wenjing even been moving in the use of UF provided "good berry" (U-Mail) services. Wang Wenjing on this piece of business showed great interest and determination. By the end of 2006, UF has developed three-year development plan from 2007 to 2009, clearly stated the "management software" and "mobile commerce" as the next stage of the two core business.

Investment in mobile business process reflects Wang Wenjing's style - he started in 2003 to think clearly and mobile communications software should be bonded together. By the end of 2004, UFIDA was set up mobile commerce business unit, will manage the ERP phones and other mobile terminals extend beyond sex. Until January 30, 2007, UF was joint venture with NTT DoCoMo announced plans to set up a joint venture stock company.

In order to maximize the elimination of the negative impact of traditional business, Wang Wenjing that "UFIDA Mobile e-commerce development, to abandon the PC, the software away, abandoned ERP, abandoned UF, only then can we succeed!"

UF then transition to the ERP has also experienced the same process. From 1997 to 1999, UF started doing a little direction to the ERP investment, but only until 2000 Wang Wenjing great commitment to the company as a major strategy on the agenda. Is precisely in order to promote the strategic transition, Wang Wenjing He Jinghua invited to UF. He Jinghua, "spent two and a half years of time known to the financial software, ERP UF marked by the stigma." Wang Wenjing this is very positive, he He Jinghua go to UF to the purpose is very simple, only needs a strategy, he must ride He Jinghua in international ERP company has a wealth of experience to drive the company's restructuring. Wang Wenjing said that his starting point is invited to address the UF He Jinghua facing a stage, he was very young, are not engaged in a kind of abdication of the attempt. At this point, Wang Wenjing's performance is definitely not an explorer, but more of a strategist.

Now, the UF has already begun on the old software business models change, and the new profit growth point of nurturing and generous capital movements will also be a target to achieve 10 billion yuan important way.

He Jinghua former CEO at the end of 2004 after leaving UF, Wang Wenjing followed on the proposed concept of universal access to ERP. Ford Model T as the universal popularity of ERP software as the dream became Wang Wenjing. In his view, Ford made the automobile a mass consumer goods, while today's ERP market and the current car market is similar to.

The theory became popular ERP UF in 2005 and 2006, guiding business development. Wang Wenjing, president in the back seat four months later, sent a such a voice outside: "Product is still very important, but it is only delivered to customers throughout our ongoing part of the solution, not all of the." Shanghai in the previous Asia Technology Summit organized by the CEO, Wang Wenjing speech topic is: the current business environment in China is likely to promote innovation and a kind of Chinese software companies to promote the development of a successful service model.

UF Industry Alliance concept is popular in ERP based on the concept's development strategy, according to Wang Wenjing mean, this strategy is aimed at uniting disparate forces can be combined, extended to the customer management service to.

In 2005, Wang Wenjing given a new client manager appointed great responsibilities, specialized maintenance and development of several large enterprise business customers, helping them to have internal coordination of resources to make their information needs can be of any UF team solution. But now the powers and responsibilities account manager on this basis has taken a step further, UFIDA Zheng Yulin, vice president, said UF will be the next to provide not only UFIDA own products, but also on the integration of partner products, so that it can offer all the services they need.

Alone products, to provide solutions to UF so far as is now open interfaces, and open technology platform, joint product development, sales and partner products will be embedded in a solution of UF, and development teams and outsourcing. UF released "UFWare" strategy, the establishment of a UFWare laboratory listed by the policy, UF hope that by virtue of their standardization and standardization of interface technology, a variety of domestically produced software can form a seamless succession and extension, on the basis will be the core business systems providers, hardware vendors, platform vendors and system integrators such as rally around their own to form a more perfect industrial chain.

April 6, 2005, UF, IBM, Intel, Microsoft, ERP industry chain more than 50 international technology platform vendors, management consulting firms, systems integrators, value-added service providers, training and education institutions, the establishment of "ERP popular Industry Alliance "UF is initiated and the organizers of the Union. According to vice president, when he was general manager of channel partners say Chiang Shu leather, UF organizations, the Alliance's purpose is not sub-cake, but make the pie bigger, the future popularity of ERP market in China will be the number of times the current size of the market.

2005 to 2007, more than two years is a new strategic transformation of UF's "warm-up period." After two years of testing the water, until 2007, Wang Wenjing great determination to press ahead before: "In 2005, when We have a clear direction, but did not intensify, two to go down our confidence, and also after the first two years of deliberation, we reached a consensus, and the urgency shown great promise in transition, this time was better than two years ago to promote the foundation more. "

External and internal party

Also because of the prior to have to understand, Wang Wenjing has been able to maintain a good attitude, no matter how the outside judge, the process of how the twists and turns, he can be left in peace, he felt that those who are "likely to happen." He never complained or blamed his subordinates, "how could such a thing happen?"

So Wang Wenjing presentation form is always tranquil. Before the public, the UF's leaders have always maintained a calm and modest attitude. UF's staff need not worry about the boss's curse to suffer even one critical e-mail, Wang Wenjing also written his best euphemism.

It is said that Wang Wenjing is cylindrical and the people within the party. This is a very apt in his heart is to adhere to some basic tenets, it is difficult to change it.

In 1988, the Government Offices Administration of the State Council Wang Wenjing left way is to resign, did not give yourself an escape route. He knew that if to take other such as "leave without pay" and other alternative methods, the unit will definitely not let him go.

In 1994, Wang Wenjing, and business partners, Su Qijiang break the story is a legend in Zhongguancun. At that time, Su Qijiang that the establishment of software sales platform is an opportunity, but Wang Wenjing wish to focus on software products, so the two parted, Wang Wenjing spent a great sum of cash to repurchase shares Suqi Jiang, Wang Wenjing retained the brand UF and infrastructure, Su Qijiang dream is to get the success of venture capital funds, it now appears a win-win results. They could be so happy to break up the key when they had come together, they thought that the day will break, so clearly established when setting up their stake.

In Wang Wenjing view, any enterprise Jiugen a person, will have what he has to defend, UF is no exception. From the creation of development, Wang Wenjing also stick to some basic tenets, such as "in the Chinese market should be gradually developed by the Chinese company to manage the software business and succeed in the end", which is the date UF since the inception of a firm belief, and should adhere to in the end.

Previous years has been successively a number of multinational companies looked for Wang Wenjing, they placed a variety of capital programs of cooperation in front of him, but Wang Wenjing is no choice, because all the programs are directed at a purpose, which is the other side want to achieve control of their business.

Wang Wenjing clear view on this issue, even though the other party can give a very high price, but he felt that the price and compared to the value of a company's future is not appropriate; Moreover, this is not just a question of whether a price, "I want to be able to UF as a long-term undertaking to develop, sell the feeling not that way."

UF 2001 listing. Period of time after the listing, Wang Wenjing stake in the company due to the dominance structure, been controversial. However, Wang Wenjing seems absolutely clear to the company's property is a core business issue, business in 1988, UF can be linked with state-owned enterprises can also choose to run, but Wang Wenjing choose the "individual business" of this form of enterprise, " This form is not good, the key is this form of property rights. If the property is not clear, may be the previous stage is conducive to the development of enterprises, but at a later stage would jeopardize the development of enterprises. "now he can say for sure," UF on this issue has not committed structural error. "

In the equity issue, Wang Wenjing position clear: "First, insist on equity ownership must be clear; Second, insist on this structure must be the majority shareholder." Wang Wenjing always believed that this is not something based on his personal needs, Instead the company to sustainable development of a structural demand: "There is no major shareholder of the companies to bear the ultimate responsibility, then the firm's decisions not capable of forming and integration." has the final decision is his insistence on absolute control of UF's most important consideration.

But Wang Wenjing that this does not mean UF in the business and financial aspects of the operation will be very conservative. When he is using the private lending to 5 yuan to set up the UF, then the loan to expand the company's business, he clearly remembers when a group of peers because of lost opportunity not loans; followed led UF listed, and using market Han Kang funds to purchase Taiwan's ERP core technology, supported the strategic transformation of UF to the ERP.

"Now we have also started a new round of merger plans. Enterprise development if by two wheel, this is one of the two wheels to turn together." This is Wang Wenjing clear. Wang Wenjing also began to change some of their own ideas, he felt that strategic investment can not seek to control the business right, the two sides can explore more of the more flexible forms of cooperation to achieve win-win situation.







Recommended links:



Operators Tangle: 3G What Is The Best Billing



A large number of international giants fight back to the Chinese. CN domain names



Hot Standby knowledge



Sonic Foundry Vegas 4.0 Collection 19 Novice Typing Results



Infomation Health And Nutrition



Photoshop art of sun and moon shuttle - on the Evening landscape change



Effectiveness is the fundamental real name does not matter



Big Dragon: China's PR industry subversion



Convert .flac to .mp3



MSVIDEO



UC: a master of a MS



Quicktime Mkv



Network And Internet Comparison



flv mp3